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 /lib/python/secmaster.py | |
parent | a0eedec07ab55e1a7ccf3b0892fe991150cef5b1 (diff) |
Replace file() with open() for Python 3 compatability
Diffstat (limited to 'lib/python/secmaster.py')
-rw-r--r-- | lib/python/secmaster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/secmaster.py b/lib/python/secmaster.py index f87cdfd1e4..f1f17303ee 100644 --- a/lib/python/secmaster.py +++ b/lib/python/secmaster.py @@ -34,7 +34,7 @@ def listqueue(): """ ssh = subprocess.Popen( ("ssh", HOST, "secure-testing/bin/list-queue"), - stdin=file("/dev/null"), + stdin=open("/dev/null"), stdout=subprocess.PIPE) data = ssh.stdout.read() ssh.wait() |