Pesky syntax.

This commit is contained in:
Ralph Bean 2017-08-17 15:17:35 +00:00
parent 31aa4768de
commit d9853d716d

View file

@ -493,7 +493,7 @@ def _is_retired_in_pdc(product, project):
if DRY_RUN:
print('Querying {0}'.format(pdc_url))
pdc_rv = session.get(pdc_url, timeout=30)
if not pdc_rv.ok
if not pdc_rv.ok:
raise RuntimeError("Could not find %r in PDC." % project)
return not pdc_rv.json()['active']