diff options
-rw-r--r-- | roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index 9b69b4add..d23b9aeed 100644 --- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 +++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 @@ -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'] |