Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Wed, Nov 26, 2008 at 12:45 AM, Martin v. Löwis <[EMAIL PROTECTED]> wrote: > > Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > >> This is true of many fixers. What is the use case? > > In this case, I wanted to work around the fixer working incorrectly > for commands, but still have it continue to work for all the other > modules it fixes. The context is the setup.py script of Django.
I wonder if a better way would be to configure the imports fixer through the options dict passed to RefactoringTool. i.e. RefactoringTool(..., {"fix_imports:dont_transform" : ["commands", "other_module"]}) _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com