Message76476
On Wed, Nov 26, 2008 at 12:45 AM, Martin v. Löwis
<report@bugs.python.org> wrote:
>
> Martin v. Löwis <martin@v.loewis.de> 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"]}) |
|
Date |
User |
Action |
Args |
2008-11-26 17:35:51 | benjamin.peterson | set | recipients:
+ benjamin.peterson, loewis |
2008-11-26 17:35:50 | benjamin.peterson | link | issue4423 messages |
2008-11-26 17:35:49 | benjamin.peterson | create | |
|