diff options
author | Ralph Bean <rbean@redhat.com> | 2017-08-17 15:17:35 +0000 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2017-08-17 15:17:35 +0000 |
commit | d9853d716d375ce59b1be4135476f795bcb49f41 (patch) | |
tree | 86493ecb8c16e949f9c7a526ef7d8bdd4b7eed6c | |
parent | 31aa4768de31fb2b31d5a757dc1c82a2e78df1cf (diff) | |
download | ansible-d9853d716d375ce59b1be4135476f795bcb49f41.tar.gz ansible-d9853d716d375ce59b1be4135476f795bcb49f41.tar.xz ansible-d9853d716d375ce59b1be4135476f795bcb49f41.zip |
Pesky syntax.
-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'] |