summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-12-03 10:12:02 -0800
committerJesse Keating <jkeating@redhat.com>2010-12-03 10:12:02 -0800
commit409589349dd1c3f318d5c47764a8490aaf1542f9 (patch)
tree110566f9b7d4a80ecedca6e4a1a948761e34ef56
parentd7417a6f64621c488551d71015c867953d8cd7a5 (diff)
downloadfedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.zip
fedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.tar.gz
fedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.tar.xz
Logout before watching tasks
This can also prevent auth errors (#634946)
-rwxr-xr-xsrc/fedpkg.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 11670aa..dbae1a8 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -338,6 +338,7 @@ def build(args):
return
# pass info off to our koji task watcher
try:
+ mymodule.kojisession.logout()
return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q)
except koji.AuthError, e:
# We could get an auth error if credentials have expired