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 0fac94e..170f549 100644 --- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -260,7 +260,7 @@ Your selection [default 1]: ''', log.INFO) body = io.StringIO() for key, value in data.items(): # handle multiple entries for the same name - if type(value) not in (type([]), type( () )): + if not isinstance(value, (list, tuple)): value = [value] for value in value: value = str(value) |