From 159b01f54b4bd61d05652c2caa9c8018a3408348 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 16 Jun 2015 13:29:41 -0700 Subject: [PATCH] fix imports --- winbuild/fixproj.py | 3 ++- winbuild/get_pythons.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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']: