[issue3131] 2to3 can't find fixes_dir

Georgij Kondratjev report at bugs.python.org
Fri Jun 20 21:53:22 CEST 2008

Georgij Kondratjev <smpuj at bk.ru> added the comment:

Do what Benjamin Peterson suggested and also edit get_fixers(self) in
refactor.py so fixer_pkg is initialized like this:

fixer_pkg = os.path.relpath(self.fixer_dir,
os.path.join(os.path.dirname(__file__), '..'))
fixer_pkg = fixer_pkg.replace(os.path.sep, ".")

This works for me.

nosy: +orivej

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list