summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-19 21:07:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-19 21:07:15 (GMT)
commitbd7bda4345e50fb857270f9d2010f0407136630e (patch)
tree59a78909884af07c4339732494192315b276cfca /Lib
parent93ebfb154456daa841aa223bd296422787b3074c (diff)
downloadcpython-bd7bda4345e50fb857270f9d2010f0407136630e.zip
cpython-bd7bda4345e50fb857270f9d2010f0407136630e.tar.gz
cpython-bd7bda4345e50fb857270f9d2010f0407136630e.tar.bz2
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 ........
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/lib2to3/refactor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py
index d2797b9..bd95f3d 100755
--- a/Lib/lib2to3/refactor.py
+++ b/Lib/lib2to3/refactor.py
@@ -177,6 +177,8 @@ class RefactoringTool(object):
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