summaryrefslogtreecommitdiff
path: root/bs4/__init__.py
diff options
context:
space:
mode:
authorAaron DeVore <aaron.devore@gmail.com>2011-03-05 02:05:03 -0800
committerAaron DeVore <aaron.devore@gmail.com>2011-03-05 02:05:03 -0800
commit18bd77e2c9bdb3c9e835a7e9c8bf54100e8b28c0 (patch)
tree4ce67e3da0de03291cc8f1939f4d54b89bd7e226 /bs4/__init__.py
parent60fe2eebc961d4dfe41db60add7e8d1b8d1f53db (diff)
Modify attributes and implementation to always use underscore_names
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r--bs4/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index e0eba75..a1d7c90 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -204,7 +204,7 @@ class BeautifulSoup(Tag):
if (self.parse_only and len(self.tagStack) <= 1
and (self.parse_only.text
- or not self.parse_only.searchTag(name, attrs))):
+ or not self.parse_only.search_tag(name, attrs))):
return None
tag = Tag(self, self.builder, name, attrs, self.currentTag,