summaryrefslogtreecommitdiff
path: root/beautifulsoup/builder
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 19:30:01 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-20 19:30:01 -0500
commitc3090d7e7337f88853fc5371c6d8011eb638c37f (patch)
treecfdc90333c894ade4e2dad99e16329253be5fea5 /beautifulsoup/builder
parent39a2b266b634aa2eca4329a6719e090087113f46 (diff)
Renamed constructor arguments to comply with PEP 8.
Diffstat (limited to 'beautifulsoup/builder')
-rw-r--r--beautifulsoup/builder/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/beautifulsoup/builder/__init__.py b/beautifulsoup/builder/__init__.py
index 522960a..854cc56 100644
--- a/beautifulsoup/builder/__init__.py
+++ b/beautifulsoup/builder/__init__.py
@@ -208,7 +208,7 @@ class HTMLTreeBuilder(TreeBuilder):
match = self.CHARSET_RE.search(content)
if match:
if (self.soup.declared_html_encoding is not None or
- self.soup.original_encoding == self.soup.fromEncoding):
+ self.soup.original_encoding == self.soup.from_encoding):
# An HTML encoding was sniffed while converting
# the document to Unicode, or an HTML encoding was
# sniffed during a previous pass through the