diff options
author | Till Maas <opensource@till.name> | 2013-12-16 20:12:29 +0100 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2013-12-16 20:12:53 +0100 |
commit | 0711d73f00ccbb294ca718657dc2a64c7269f529 (patch) | |
tree | 295c47be5afb39ab5302c234c5c5c7fd14d2b9a9 | |
parent | 9b2b2b925ad0ee43970662e9ca8136dfaa0a851c (diff) | |
download | cnucnu-0711d73f00ccbb294ca718657dc2a64c7269f529.tar.gz cnucnu-0711d73f00ccbb294ca718657dc2a64c7269f529.tar.xz cnucnu-0711d73f00ccbb294ca718657dc2a64c7269f529.zip |
fix bugzilla config
-rw-r--r-- | cnucnu/bugzilla_reporter.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cnucnu/bugzilla_reporter.py b/cnucnu/bugzilla_reporter.py index 0ba055a..12214fa 100644 --- a/cnucnu/bugzilla_reporter.py +++ b/cnucnu/bugzilla_reporter.py @@ -35,9 +35,11 @@ class BugzillaReporter(object): new_bug = {} - def __init__(self, config=global_config.bugzilla_config): + def __init__(self, config=None): self._bz = None + if not config: + config = global_config.bugzilla_config self.config = config self.base_query['product'] = config['product'] |