Package: reportbug
Version: 3.33
Severity: minor
Tags: patch
In the urwid UI, The yes_no questions are lacking a trailing question mark,
unlike the text UI. The patch below fixes this.
Rafael
-- Package-specific info:
** Environment settings:
EDITOR="jed"
DEBEMAIL="[EMAIL PROTECTED]"
EMAIL="[EMAIL PROTECTED]"
INTERFACE="urwid"
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages reportbug depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
reportbug recommends no packages.
-- no debconf information
--- reportbug_ui_urwid.py 2007-01-14 21:39:58.000000000 +0100
+++ reportbug_ui_urwid.py-new 2007-03-18 00:01:45.000000000 +0100
@@ -335,7 +335,7 @@
return result
def yes_no(msg, yeshelp, nohelp, default=True, nowrap=False, ui=None):
- box = dialog('', long_message=msg, title=reportbug.VERSION)
+ box = dialog('', long_message=msg+"?", title=reportbug.VERSION)
box.add_buttons([ ('Yes', True), ('No', False) ], default=1-int(default))
result = box.main(ui)
return result