[issue3534] refactor.py can lose indentation for relative imports

2008-08-09 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3534] refactor.py can lose indentation for relative imports

2008-08-09 Thread Roger Upole
Roger Upole <[EMAIL PROTECTED]> added the comment: I was using 3.0b2. The output is correct with latest updates, sorry for the trouble. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3534] refactor.py can lose indentation for relative imports

2008-08-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: What version of 2to3 are you using? AFAIK, this has been fixed in the trunk. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3534] refactor.py can lose indentation for relative imports

2008-08-09 Thread Roger Upole
New submission from Roger Upole <[EMAIL PROTECTED]>: Here's an excerpt from the output when run with --verbose. @@ -138,7 +136,7 @@ def _MakeColorizer(self): ext = os.path.splitext(self.GetDocument().GetPathName()) - import formatter +from . import formatte