]> git.openstreetmap.org Git - osqa.git/commitdiff
Removed a redundant constructor that was causing errors.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 31 May 2010 21:46:29 +0000 (21:46 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 31 May 2010 21:46:29 +0000 (21:46 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@348 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/utils/html.py

index 25a74a4a768e4a164823b3b5ddc81cf993fd5f81..e461e1a8432672491442754bf5add4a908ec9f1c 100644 (file)
@@ -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):