diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:30:01 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:30:01 -0500 |
commit | c3090d7e7337f88853fc5371c6d8011eb638c37f (patch) | |
tree | cfdc90333c894ade4e2dad99e16329253be5fea5 /beautifulsoup/builder | |
parent | 39a2b266b634aa2eca4329a6719e090087113f46 (diff) |
Renamed constructor arguments to comply with PEP 8.
Diffstat (limited to 'beautifulsoup/builder')
-rw-r--r-- | beautifulsoup/builder/__init__.py | 2 |
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 |