diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-23 10:21:30 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-02-23 10:21:30 -0500 |
commit | 0339d1f4a0f7306cb8c1ef4d7cd609b06e33eb27 (patch) | |
tree | 40b1d7453a284da936c40e5e53402942c9650b74 /bs4/element.py | |
parent | 6e4b4dfffbd6e8d465aebd009108654003da338b (diff) | |
parent | a4ffd587fad7d2442a9ccdcdd0a8f6df347f39eb (diff) |
Merge from trunk and added tests.
Diffstat (limited to 'bs4/element.py')
-rw-r--r-- | bs4/element.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bs4/element.py b/bs4/element.py index ab30951..fdb90e0 100644 --- a/bs4/element.py +++ b/bs4/element.py @@ -1007,7 +1007,7 @@ class SoupStrainer(object): searchTag = search_tag def search(self, markup): - #print 'looking for %s in %s' % (self, markup) + # print 'looking for %s in %s' % (self, markup) found = None # If given a list of items, scan it for a text element that # matches. @@ -1033,7 +1033,7 @@ class SoupStrainer(object): return found def _matches(self, markup, match_against): - #print "Matching %s against %s" % (markup, match_against) + # print "Matching %s against %s" % (markup, match_against) result = False if isinstance(markup, list) or isinstance(markup, tuple): |