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 | 97eb61a8b4bb9cd587203f34be5617af4370a152 (patch) | |
tree | 23cf18afa6331ae295b5f3c9ad2ff20ee46e24a0 /bin/mass-bug-filer | |
parent | b10f7e889286a6be2330848c113d48ddf070cc24 (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() |