1. Armin Rigo
  2. cpython-withatomic

Commits

Amaury Forgeot d'Arc  committed a408a05

Fix the previous fix

  • Participants
  • Parent commits 03a9a9d
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/lib2to3/refactor.py

View file
         """
         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