diff options
Diffstat (limited to 'Lib/distutils/command')
| -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 dec9aa2bf2..5fcc8d2764 100644 --- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -251,7 +251,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") |
