From 92a92daa8856b064fdfc9be936841917c75f8417 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Mon, 21 Sep 2015 20:04:15 +0200 Subject: Store some references for interactive debugging/development --- fedora-easy-karma.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit