From f12b4ccf1fd4d99469bd335cc82ebdd0ee13d81b Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Sun, 15 Oct 2006 08:39:27 +0000 Subject: [PATCH] Change default from None to '' in get_string. --- reportbug_ui_urwid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reportbug_ui_urwid.py b/reportbug_ui_urwid.py index f69fece..0b5a20c 100644 --- a/reportbug_ui_urwid.py +++ b/reportbug_ui_urwid.py @@ -22,7 +22,7 @@ # (LGPL) Version 2.1 or later. On Debian systems, this license is available # in /usr/share/common-licenses/LGPL # -# $Id: reportbug_ui_urwid.py,v 1.3.2.12 2006-09-04 00:14:16 lawrencc Exp $ +# $Id: reportbug_ui_urwid.py,v 1.3.2.13 2006-10-15 08:39:27 lawrencc Exp $ import commands, string, sys, re from reportbug_exceptions import * @@ -341,7 +341,7 @@ def yes_no(msg, yeshelp, nohelp, default=True, nowrap=False, ui=None): return result def get_string(prompt, options=None, title=None, force_prompt=False, - default=None, ui=None): + default='', ui=None): if title: title = '%s: %s' % (reportbug.VERSION, title) else: