diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-12-03 10:12:02 -0800 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-12-03 10:12:02 -0800 |
commit | 409589349dd1c3f318d5c47764a8490aaf1542f9 (patch) | |
tree | 110566f9b7d4a80ecedca6e4a1a948761e34ef56 /src | |
parent | d7417a6f64621c488551d71015c867953d8cd7a5 (diff) | |
download | fedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.tar.gz fedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.tar.xz fedora-packager-409589349dd1c3f318d5c47764a8490aaf1542f9.zip |
Logout before watching tasks
This can also prevent auth errors (#634946)
Diffstat (limited to 'src')
-rwxr-xr-x | src/fedpkg.py | 1 |
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 |