Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX: py3k compat.

Should import under py3k.
  • Loading branch information...
commit 5e8d845b5128370d53d83adb7565122c5ecfb899 1 parent 00150d1
Fabian Pedregosa fabianp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  setup.py
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.