summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2015-09-21 20:04:15 +0200
committerTill Maas <opensource@till.name>2015-09-21 20:04:15 +0200
commit92a92daa8856b064fdfc9be936841917c75f8417 (patch)
tree7e9d14aaf6dfc254a7ddea0692e73d6e89ceec00
parente7091fa8a9f0a5ba81a4b360446011aa0ce5f28d (diff)
downloadfedora-easy-karma-92a92daa8856b064fdfc9be936841917c75f8417.tar.gz
fedora-easy-karma-92a92daa8856b064fdfc9be936841917c75f8417.tar.xz
fedora-easy-karma-92a92daa8856b064fdfc9be936841917c75f8417.zip
Store some references for interactive debugging/development
-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)