[fix] Append proper value to arg_strings for a list in the api

This commit is contained in:
Jérôme Lebleu 2014-11-21 10:32:38 +01:00
parent 7a6fda1e26
commit cbdaeadefb

View file

@ -82,7 +82,7 @@ class _HTTPArgumentParser(object):
arg_strings.append(option_string)
for v in value:
if isinstance(v, str):
arg_strings.append(value)
arg_strings.append(v)
else:
logger.warning("unsupported argument value type %r " \
"in %s for option string %s", v, value,