contrib/hgfixes/fix_leftover_imports.py
changeset 19378 9de689d20230
parent 11949 626fe5c99231
--- a/contrib/hgfixes/fix_leftover_imports.py	Mon Jul 01 20:48:55 2013 +0200
+++ b/contrib/hgfixes/fix_leftover_imports.py	Mon Jul 01 20:48:56 2013 +0200
@@ -48,7 +48,6 @@
     mod_list = ' | '.join(["'%s' '.' ('%s')" %
         (key, "' | '".join(packages[key])) for key in packages])
     mod_list = '(' + mod_list + ' )'
-    bare_names = alternates(mapping.keys())
 
     yield """name_import=import_name< 'import' module_name=dotted_name< %s > >
           """ % mod_list