commit 036756cf2c701c53ccd40192c4272571d512353e Author: Pierre-Yves Chibon pingou@pingoured.fr Date: Thu Jul 28 15:33:49 2011 +0200
Do not fail if koji tags change.
pkgdb-cli.py | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) --- diff --git a/pkgdb-cli.py b/pkgdb-cli.py index 4f5fd38..2524bbc 100755 --- a/pkgdb-cli.py +++ b/pkgdb-cli.py @@ -593,11 +593,20 @@ def get_last_build(packagename, tag): # for updates and updates-testing if "f" in tag: tag = tag + "-updates" - _get_last_build(packagename, tag) + try: + _get_last_build(packagename, tag) + except Exception, er: + print er tag = tag + "-testing" - _get_last_build(packagename, tag) + try: + _get_last_build(packagename, tag) + except Exception, er: + print er else: - _get_last_build(packagename, tag) + try: + _get_last_build(packagename, tag) + except Exception, er: + print er
def handle_acl(packagename, action, branch='devel', cancel=False,
packagedb-cli-commits@lists.stg.fedorahosted.org