[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.8-16-gd08173f

Sandro Tosi morph at debian.org
Sat Nov 21 22:24:01 UTC 2009


The following commit has been merged in the master branch:
commit 5c0c540bd5b69a38b8c57f3997b5f68424e3b066
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Nov 21 13:06:06 2009 +0100

    '--template' option forces the 'text' UI (it's only useful with that); thanks to Johan Kullstam for the report; Closes: #543281

diff --git a/bin/reportbug b/bin/reportbug
index 3dedb8d..6898ea5 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -921,7 +921,9 @@ def main():
 
         options.mua = utils.mua_name(options.mua)
 
-    if options.interface:
+    # try to import the specified UI, but only if template
+    # is not set (it's useful only in 'text' UI).
+    if options.interface and not options.template:
         interface = options.interface
 
         iface = '%(interface)s_ui' % vars()
diff --git a/debian/changelog b/debian/changelog
index 1cbf5cd..5d503e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,8 +21,11 @@ reportbug (4.8+WIP) UNRELEASED; urgency=low
   * bin/querybts
     - enable '-u' options, along with '--ui'; thanks to David Bremner for the
       report and to Carl Chenet for the patch; Closes: #542312
+  * bin/reportbug
+    - '--template' option forces the 'text' UI (it's only useful with that);
+      thanks to Johan Kullstam for the report; Closes: #543281
 
- -- Sandro Tosi <morph at debian.org>  Sat, 21 Nov 2009 12:44:13 +0100
+ -- Sandro Tosi <morph at debian.org>  Sat, 21 Nov 2009 13:04:15 +0100
 
 reportbug (4.8) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list