Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
newt
> newt-0.52.7-snack.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File newt-0.52.7-snack.patch of Package newt
Index: newt/snack.py =================================================================== RCS file: /usr/local/CVS/newt/snack.py,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- newt/snack.py 13 Jun 2007 17:17:53 -0000 1.69 +++ newt/snack.py 11 Jul 2007 17:00:28 -0000 1.70 @@ -826,7 +826,8 @@ for n in prompts: if (type(n) == types.TupleType): (n, e) = n - e = Entry(entryWidth, e) + if (type(e) in types.StringTypes): + e = Entry(entryWidth, e) else: e = Entry(entryWidth)