diff options
author | Till Maas <opensource@till.name> | 2010-12-25 12:55:08 +0100 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2010-12-25 12:55:08 +0100 |
commit | c9330daf0a29b43f281caeb9258d70891c207b14 (patch) | |
tree | 5253b626f009a115f44a6396d0878c31466c820a /cnucnu/bugzilla_reporter.py | |
parent | 0fa4ab03317998d5180319fcee216d9f6f4cab25 (diff) | |
download | cnucnu-c9330daf0a29b43f281caeb9258d70891c207b14.tar.gz cnucnu-c9330daf0a29b43f281caeb9258d70891c207b14.tar.xz cnucnu-c9330daf0a29b43f281caeb9258d70891c207b14.zip |
Print bug urls when created or updated
Diffstat (limited to 'cnucnu/bugzilla_reporter.py')
-rw-r--r-- | cnucnu/bugzilla_reporter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cnucnu/bugzilla_reporter.py b/cnucnu/bugzilla_reporter.py index f7f799e..4e24f08 100644 --- a/cnucnu/bugzilla_reporter.py +++ b/cnucnu/bugzilla_reporter.py @@ -88,6 +88,7 @@ class BugzillaReporter(object): print repr(update) res = self.bz._update_bugs(open_bug.bug_id, update) print res + print self.bug_url(open_bug) return res else: bug = package.exact_outdated_bug @@ -104,6 +105,7 @@ class BugzillaReporter(object): new_bug = self.bz.createbug(**bug_dict) change_status = None print new_bug + print self.bug_url(new_bug) if new_bug.bug_status != self.config['bug status']: change_status = self.bz._proxy.bugzilla.changeStatus(new_bug.bug_id, self.config['bug status'], self.config['user'], "", "", False, False, 1) |