diff --git a/winbuild/fixproj.py b/winbuild/fixproj.py index e52de707f..9b5203fb8 100644 --- a/winbuild/fixproj.py +++ b/winbuild/fixproj.py @@ -1,4 +1,5 @@ -import sys, os +import sys + with open(sys.argv[1], 'r') as fd: content = '\n'.join(line.strip() for line in fd if line.strip()) if len(sys.argv) == 3: diff --git a/winbuild/get_pythons.py b/winbuild/get_pythons.py index fcce5fe3e..71988301d 100644 --- a/winbuild/get_pythons.py +++ b/winbuild/get_pythons.py @@ -1,4 +1,5 @@ from fetch import fetch +import os if __name__=='__main__': for version in ['2.6.5', '2.7.6', '3.2.5', '3.3.5', '3.4.0']: