From: mlichvar Date: Thu, 12 Oct 2006 07:47:55 +0000 (+0000) Subject: - fix crash in EntryWindow when prompts is list of tuples (patch from debian) X-Git-Tag: r0-52-4~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e49ec19550b639543cbaec16eb8c36b971b3653d;p=thirdparty%2Fnewt.git - fix crash in EntryWindow when prompts is list of tuples (patch from debian) --- diff --git a/snack.py b/snack.py index ff6d8d4..2fa0caa 100644 --- a/snack.py +++ b/snack.py @@ -789,6 +789,7 @@ def EntryWindow(screen, title, text, prompts, allowCancel = 1, width = 40, for n in prompts: if (type(n) == types.TupleType): (n, e) = n + e = Entry(entryWidth, e) else: e = Entry(entryWidth)