From 409589349dd1c3f318d5c47764a8490aaf1542f9 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 3 Dec 2010 10:12:02 -0800 Subject: Logout before watching tasks This can also prevent auth errors (#634946) --- src/fedpkg.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit