Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org, starting at approximately 9am MST on Tuesday 7th December 2021. It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please address any comments, concerns, or questions to computing-help@igwn.org.

Verified Commit 870157b5 authored by Adam Mercer's avatar Adam Mercer
Browse files

define command first

parent 25d91b11
......@@ -62,8 +62,8 @@ def parse_options():
# method to check for connection to koji
def check_connection_to_koji():
try:
subprocess.check_call(['koji', 'moshimoshi'],
stdout=subprocess.DEVNULL,
cmd = ['koji', 'moshimoshi']
subprocess.check_call(cmd, stdout=subprocess.DEVNULL,
stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
print('Authentication failed, do you have a valid kerberos ticket?')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment