From: hernani Date: Mon, 31 May 2010 21:46:29 +0000 (+0000) Subject: Removed a redundant constructor that was causing errors. X-Git-Tag: live~784 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/f414081ec67236ede6b21af8fc0682608c6fa172?ds=inline Removed a redundant constructor that was causing errors. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@348 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/utils/html.py b/forum/utils/html.py index 25a74a4..e461e1a 100644 --- a/forum/utils/html.py +++ b/forum/utils/html.py @@ -26,11 +26,6 @@ class HTMLSanitizerMixin(sanitizer.HTMLSanitizerMixin): allowed_svg_properties = () class HTMLSanitizer(tokenizer.HTMLTokenizer, HTMLSanitizerMixin): - def __init__(self, stream, encoding=None, parseMeta=True, useChardet=True, - lowercaseElementName=True, lowercaseAttrName=True): - tokenizer.HTMLTokenizer.__init__(self, stream, encoding, parseMeta, - useChardet, lowercaseElementName, - lowercaseAttrName) def __iter__(self): for token in tokenizer.HTMLTokenizer.__iter__(self):