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

This commit is contained in:
Neal Norwitz 2002-03-26 16:23:28 +00:00
parent f261223ccd
commit 1ae2875336

View file

@ -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)