diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 15:13:41 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-18 15:13:41 -0500 |
commit | 8249b803d9bab9c06be02a244e629cb732f4f5b1 (patch) | |
tree | 447cddabac142fefd583df1acd6268f6abcb8f5c /beautifulsoup/__init__.py | |
parent | 0dda99b15112df7225e647db9702fbd62dcc8ea8 (diff) | |
parent | e170ff33e67e806cf33e2e51fcefcfa0b9310d96 (diff) |
Ported the rest of the HTML tests, including tests of broken HTML from the TODO. Made Unicode, Dammit PEP-8 compliant.
Diffstat (limited to 'beautifulsoup/__init__.py')
-rw-r--r-- | beautifulsoup/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beautifulsoup/__init__.py b/beautifulsoup/__init__.py index 32ea73f..5d66bc7 100644 --- a/beautifulsoup/__init__.py +++ b/beautifulsoup/__init__.py @@ -149,7 +149,7 @@ class BeautifulStoneSoup(Tag): if hasattr(markup, 'read'): # It's a file-type object. markup = markup.read() - self.markup, self.originalEncoding, self.declaredHTMLEncoding = ( + self.markup, self.original_encoding, self.declared_html_encoding = ( self.builder.prepare_markup(markup, fromEncoding)) try: |