diff options
| author | Brett Cannon <brett@python.org> | 2010-01-17 13:17:10 -0800 |
|---|---|---|
| committer | Brett Cannon <brett@python.org> | 2010-01-17 13:17:10 -0800 |
| commit | fa05430c5ebc8dc94ed9d33090869a79fea9a611 (patch) | |
| tree | 86ad177c92691af74bc3799d4f1000436c731d8a /setuptools/command/upload_docs.py | |
| parent | d19d82707a830d6734553e7a0c577a6ac19da1e6 (diff) | |
| download | python-setuptools-bitbucket-fa05430c5ebc8dc94ed9d33090869a79fea9a611.tar.gz | |
Use more reasonable variable names.
Diffstat (limited to 'setuptools/command/upload_docs.py')
| -rw-r--r-- | setuptools/command/upload_docs.py | 8 |
1 files changed, 4 insertions, 4 deletions
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] |
