summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-01-21 13:54:40 -0800
committerJesse Keating <jkeating@redhat.com>2011-01-21 13:54:40 -0800
commit6438067bc69a60d28dbace9d2a400efbf5ba6cdc (patch)
tree5335100df4d185bf8a2b57d99f356d67056bf806 /src
parent73430b437764d001adb05e1dc655cc347bf1a462 (diff)
downloadfedora-packager-6438067bc69a60d28dbace9d2a400efbf5ba6cdc.zip
fedora-packager-6438067bc69a60d28dbace9d2a400efbf5ba6cdc.tar.gz
fedora-packager-6438067bc69a60d28dbace9d2a400efbf5ba6cdc.tar.xz
Fix a traceback when koji goes offline (#668889)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fedpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index d8fc531..6699642 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -340,7 +340,7 @@ def build(args):
try:
mymodule.kojisession.logout()
return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q)
- except koji.AuthError, e:
+ except (koji.AuthError, koji.ServerOffline), e:
# We could get an auth error if credentials have expired
log.error('Could not watch build: %s' % e)
sys.exit(1)