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 | 000e95f7f9466079740357c742c8cfa37f79599a (patch) | |
tree | f25356d694247cad9a3e5fa86f0b51f86c62aa31 /bin/mass-bug-filer | |
parent | 6689e227dbc2827410dfa66e40c25cbdaf3dce30 (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() |