Pesky syntax.
This commit is contained in:
parent
31aa4768de
commit
d9853d716d
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue