diff options
author | Brian May <brian@linuxpenguins.xyz> | 2019-03-04 17:21:45 +1100 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2019-03-04 17:31:32 +1100 |
commit | dbeca9f785cb90139fde37ad0aaad61f70b5506f (patch) | |
tree | faa44ee8494b4adb0d54a3f990cc7f1b2a4c16f0 /bin/mass-bug-filer | |
parent | a0eedec07ab55e1a7ccf3b0892fe991150cef5b1 (diff) |
Replace file() with open() for Python 3 compatability
Diffstat (limited to 'bin/mass-bug-filer')
-rwxr-xr-x | bin/mass-bug-filer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mass-bug-filer b/bin/mass-bug-filer index e7dfb5e310..0c1d3d9dec 100755 --- a/bin/mass-bug-filer +++ b/bin/mass-bug-filer @@ -11,7 +11,7 @@ if len(sys.argv) < 3: print("usage: %s FILE PACKAGE..." % sys.argv[0], file=sys.stderr) sys.exit(1) -message_file = file(sys.argv[1]) +message_file = open(sys.argv[1]) packages = sys.argv[2:] cache = apt.Cache() |