[Python-checkins] r65876 - sandbox/trunk/2to3/lib2to3/refactor.py
benjamin.peterson
python-checkins at python.org
Tue Aug 19 22:54:53 CEST 2008
Author: benjamin.peterson
Date: Tue Aug 19 22:54:52 2008
New Revision: 65876
Log:
apply a fix I think will help Windows
Modified:
sandbox/trunk/2to3/lib2to3/refactor.py
Modified: sandbox/trunk/2to3/lib2to3/refactor.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/refactor.py (original)
+++ sandbox/trunk/2to3/lib2to3/refactor.py Tue Aug 19 22:54:52 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