diff options
author | 2016-11-27 16:07:33 -0800 | |
---|---|---|
committer | 2016-11-27 16:07:33 -0800 | |
commit | 09e3ea076023fcf421e3030f2cb4891ae5ef0a13 (patch) | |
tree | 3c0563f87b44fbfe485e2e78c19bd2b82bad991e /gen-report-xml.py | |
parent | Revert to bdb for now. (diff) | |
download | mastermirror-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-x | gen-report-xml.py | 4 |
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]) |