From 56d8bf130caec9061d304dbedf0a1b7e8f5ff396 Mon Sep 17 00:00:00 2001 From: "\"Brett Cannon ext:(%22)" Date: Sun, 17 Jan 2010 13:17:10 -0800 Subject: Use more reasonable variable names. --HG-- branch : distribute extra : rebase_source : f05e05486f624a3234e19af2d5b108e80b82df10 --- setuptools/command/upload_docs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'setuptools/command/upload_docs.py') diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index 4548635c..d8c864e4 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -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] -- cgit v1.2.3