Fix the previous fix
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 17 Jun 2008 23:14:19 +0000 (23:14 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 17 Jun 2008 23:14:19 +0000 (23:14 +0000)
Lib/lib2to3/refactor.py

index 97c9e122bd60eaed6a426e329562670a474481b2..da762ccd50a4744194cd761eae3fa81f1350476e 100755 (executable)
@@ -174,7 +174,7 @@ class RefactoringTool(object):
         """
         fixer_pkg = self.fixer_dir.replace(os.path.sep, ".")
         if os.path.altsep:
-            fixer_pkg = self.fixer_dir.replace(os.path.altsep, ".")
+            fixer_pkg = fixer_pkg.replace(os.path.altsep, ".")
         pre_order_fixers = []
         post_order_fixers = []
         fix_names = self.options.fix