]> granicus.if.org Git - python/commitdiff
re was already imported in the module, no need to re-import
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Mar 2002 16:23:28 +0000 (16:23 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Mar 2002 16:23:28 +0000 (16:23 +0000)
Lib/xmlrpclib.py

index 78bdd6ff157eaf831a379e43b07418f5f04b9fde..8c6f799aa98e46c72c5ee94e618b941d52b80c06 100644 (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)