[Python-checkins] r65882 - in python/trunk/Lib/lib2to3: refactor.py

benjamin.peterson python-checkins at python.org
Tue Aug 19 23:07:16 CEST 2008


Author: benjamin.peterson
Date: Tue Aug 19 23:07:15 2008
New Revision: 65882

Log:
Merged revisions 65876 via svnmerge from 
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line
  
  apply a fix I think will help Windows
........


Modified:
   python/trunk/Lib/lib2to3/   (props changed)
   python/trunk/Lib/lib2to3/refactor.py

Modified: python/trunk/Lib/lib2to3/refactor.py
==============================================================================
--- python/trunk/Lib/lib2to3/refactor.py	(original)
+++ python/trunk/Lib/lib2to3/refactor.py	Tue Aug 19 23:07:15 2008
@@ -177,6 +177,8 @@
         else:
             fixer_pkg = self.fixer_dir
         fixer_pkg = fixer_pkg.replace(os.path.sep, ".")
+        if os.path.altsep:
+            fixer_pkg = self.fixer_dir.replace(os.path.altsep, ".")
         pre_order_fixers = []
         post_order_fixers = []
         fix_names = self.options.fix


More information about the Python-checkins mailing list