diff options
Diffstat (limited to 'Lib/distutils/command/register.py')
-rw-r--r-- | Lib/distutils/command/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py index f8912621c8..3177476b3b 100644 --- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -256,7 +256,7 @@ Your selection [default 1]: ''', body = StringIO.StringIO() for key, value in data.items(): # handle multiple entries for the same name - if type(value) != type([]): + if type(value) not in (type([]), type( () )): value = [value] for value in value: value = unicode(value).encode("utf-8") |