summaryrefslogtreecommitdiff
path: root/bs4
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-16 18:38:14 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-16 18:38:14 -0400
commit5892a329d4799adf9c5fe4b2ec36e565359efbb3 (patch)
treeca913ae70c1219b783f96cbe3ead7943ca5b8b90 /bs4
parent31f2fc3daeb2251c972f53ec42f6b8534f461328 (diff)
Removed imports to pdb, since pdb is not available in some environments. [bug=1491700]
Diffstat (limited to 'bs4')
-rw-r--r--bs4/builder/_html5lib.py1
-rw-r--r--bs4/builder/_htmlparser.py1
-rw-r--r--bs4/builder/_lxml.py1
-rw-r--r--bs4/dammit.py1
-rw-r--r--bs4/element.py1
5 files changed, 0 insertions, 5 deletions
diff --git a/bs4/builder/_html5lib.py b/bs4/builder/_html5lib.py
index 7c79849..03a8355 100644
--- a/bs4/builder/_html5lib.py
+++ b/bs4/builder/_html5lib.py
@@ -5,7 +5,6 @@ __all__ = [
'HTML5TreeBuilder',
]
-from pdb import set_trace
import warnings
from bs4.builder import (
PERMISSIVE,
diff --git a/bs4/builder/_htmlparser.py b/bs4/builder/_htmlparser.py
index b919be4..823ca15 100644
--- a/bs4/builder/_htmlparser.py
+++ b/bs4/builder/_htmlparser.py
@@ -8,7 +8,6 @@ __all__ = [
]
from HTMLParser import HTMLParser
-from pdb import set_trace
try:
from HTMLParser import HTMLParseError
diff --git a/bs4/builder/_lxml.py b/bs4/builder/_lxml.py
index 67cdb4c..4495bb9 100644
--- a/bs4/builder/_lxml.py
+++ b/bs4/builder/_lxml.py
@@ -5,7 +5,6 @@ __all__ = [
'LXMLTreeBuilder',
]
-from pdb import set_trace
from io import BytesIO
from StringIO import StringIO
import collections
diff --git a/bs4/dammit.py b/bs4/dammit.py
index c6c71ff..9b6e356 100644
--- a/bs4/dammit.py
+++ b/bs4/dammit.py
@@ -10,7 +10,6 @@ XML or HTML to reflect a new encoding; that's the tree builder's job.
# found in the LICENSE file.
__license__ = "MIT"
-from pdb import set_trace
import codecs
from htmlentitydefs import codepoint2name
import re
diff --git a/bs4/element.py b/bs4/element.py
index 955f0fc..86126ec 100644
--- a/bs4/element.py
+++ b/bs4/element.py
@@ -2,7 +2,6 @@
# found in the LICENSE file.
__license__ = "MIT"
-from pdb import set_trace
import collections
import re
import sys