Same cause, same effect, same fix

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-10 10:36:05 +02:00
parent d763ad3e1d
commit c258d1c603

View file

@ -29,7 +29,7 @@ def _koji_hub_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/kojihub"
return base