summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfedora-easy-karma.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py
index 9f760b8..7443aa4 100755
--- a/fedora-easy-karma.py
+++ b/fedora-easy-karma.py
@@ -365,6 +365,7 @@ class FedoraEasyKarma(object):
# note that the retry logic in the bodhi client is currently not functional
# https://github.com/fedora-infra/python-fedora/issues/144
bc = BodhiClient(username=self.options.fas_username, useragent="Fedora Easy Karma/GIT", retries=self.options.retries)
+ self.bc = bc
# Bodhi is too slow for our queries, therefore wait longer
bc.timeout = 300
pkghelper = PkgHelper()
@@ -668,7 +669,7 @@ class FedoraEasyKarma(object):
if __name__ == "__main__":
try:
- FedoraEasyKarma()
+ fek = FedoraEasyKarma()
except KeyboardInterrupt:
print "aborted"
sys.exit(0)