Assume we're in prod unless we know we aren't
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
018ebc6f47
commit
23e18eafe4
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def _koji_link(msg):
|
|||
raise NotImplementedError("Unhandled instance")
|
||||
|
||||
# One last little switch-a-roo for stg
|
||||
if '.stg.' in msg['request'][0]:
|
||||
if msg['request'] and '.stg.' in msg['request'][0]:
|
||||
base = "https://koji.stg.fedoraproject.org/koji"
|
||||
|
||||
return base + "/taskinfo?taskID=%i" \
|
||||
|
|
Reference in a new issue