Commit 1ae28753 authored by Neal Norwitz's avatar Neal Norwitz

re was already imported in the module, no need to re-import

parent f261223c
......@@ -353,7 +353,6 @@ else:
self.parser = self.feed = None # nuke circular reference
def handle_proc(self, tag, attr):
import re
m = re.search("encoding\s*=\s*['\"]([^\"']+)[\"']", attr)
if m:
self.handle_xml(m.group(1), 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment