Commit a731ab14 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #1545341] Allow 'classifier' parameter to be a tuple as well as a list. Will backport.

parent e9ab4dbf
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment