aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-11-27 16:07:33 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-11-27 16:07:33 -0800
commit09e3ea076023fcf421e3030f2cb4891ae5ef0a13 (patch)
tree3c0563f87b44fbfe485e2e78c19bd2b82bad991e /gen-report-xml.py
parentRevert to bdb for now. (diff)
downloadmastermirror-scripts-09e3ea076023fcf421e3030f2cb4891ae5ef0a13.tar.gz
mastermirror-scripts-09e3ea076023fcf421e3030f2cb4891ae5ef0a13.tar.bz2
mastermirror-scripts-09e3ea076023fcf421e3030f2cb4891ae5ef0a13.zip
gen-report-xml.py: python3 tweak not caught by 2to3.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen-report-xml.py')
-rwxr-xr-xgen-report-xml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen-report-xml.py b/gen-report-xml.py
index 2099635..bc26101 100755
--- a/gen-report-xml.py
+++ b/gen-report-xml.py
@@ -26,8 +26,8 @@ if not os.access(sys.argv[1], os.R_OK):
sys.exit(2)
-fail_f=file(sys.argv[1], "r")
-suc_f=file(sys.argv[2],"r")
+fail_f=open(sys.argv[1], "r")
+suc_f=open(sys.argv[2],"r")
if not os.path.isfile(sys.argv[3]):
sys.stderr.write("%s isn't a file.\n" % sys.argv[3])