Permalink
Browse files

FIX: py3k compat.

Should import under py3k.
  • Loading branch information...
1 parent 00150d1 commit 5e8d845b5128370d53d83adb7565122c5ecfb899 @fabianp fabianp committed Aug 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -61,7 +61,7 @@ def configuration(parent_package='', top_path=None):
_old_stdout = sys.stdout
try:
sys.stdout = StringIO() # supress noisy output
- res = lib2to3.main.main("lib2to3.fixes", ['-w'] + [local_path])
+ res = lib2to3.main.main("lib2to3.fixes", ['-x', 'import', '-w', local_path])
finally:
sys.stdout = _old_stdout

0 comments on commit 5e8d845

Please sign in to comment.