Use more reasonable variable names.

--HG--
branch : distribute
extra : rebase_source : f05e05486f624a3234e19af2d5b108e80b82df10
parent 07f219c5
......@@ -89,11 +89,11 @@ class upload_docs(upload):
sep_boundary = '\n--' + boundary
end_boundary = sep_boundary + '--'
body = StringIO.StringIO()
for key, value in data.items():
for key, values in data.items():
# handle multiple entries for the same name
if type(value) != type([]):
value = [value]
for value in value:
if type(values) != type([]):
values = [values]
for value in values:
if type(value) is tuple:
fn = ';filename="%s"' % value[0]
value = value[1]
......
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