[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-6-g9f5fc56
Sandro Tosi
morph at debian.org
Tue Aug 16 00:36:33 UTC 2011
The following commit has been merged in the master branch:
commit 7451315060794b7bb875bb54717ecc53711644c1
Author: Sandro Tosi <morph at debian.org>
Date: Fri Aug 12 00:11:21 2011 +0200
uniform ui.show_report() signature
this allows to call
querybts -N nnnnnn --ui=(urwid or gtk2)
where before you'd get an error
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 315f415..5b49aaa 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1037,7 +1037,7 @@ class ShowReportPage (Page):
self.page_type = gtk.ASSISTANT_PAGE_CONFIRM
return args, kwargs
- def execute (self, number, system, mirrors, http_proxy, timeout, queryonly=False, title='', archived='no'):
+ def execute (self, number, system, mirrors, http_proxy, timeout, queryonly=False, title='', archived='no', mbox_reader_cmd=None):
self.page.number = number
self.page.bts = system
self.page.mirrors = mirrors
diff --git a/reportbug/ui/urwid_ui.py b/reportbug/ui/urwid_ui.py
index 9b2b133..7a29892 100644
--- a/reportbug/ui/urwid_ui.py
+++ b/reportbug/ui/urwid_ui.py
@@ -491,7 +491,7 @@ def select_multiple(par, options, prompt, title=None, order=None, extras=None):
# Things that are very UI dependent go here
def show_report(number, system, mirrors,
http_proxy, timeout, screen=None, queryonly=False, title='',
- archived='no'):
+ archived='no', mbox_reader_cmd=None):
from reportbug import debbugs
ui = screen
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list