summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-03-20 13:31:38 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-03-20 13:31:38 -0400
commitd187a03c3f9f5f7056f3bb19720c0ff75a48f703 (patch)
treea67b277d722912b41d413c205516b64a13770cdc
parenta46eb59365b606838a2c83b1dd7c5374923ed951 (diff)
downloadpython-setuptools-bitbucket-d187a03c3f9f5f7056f3bb19720c0ff75a48f703.tar.gz
Remove unused variable
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 963b4b41..c117cb62 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -139,7 +139,7 @@ def interpret_distro_name(
parts = basename.split('-')
if not py_version:
- for i,p in enumerate(parts[2:]):
+ for p in parts[2:]:
if p.match('py\d\.\d'):
# It's a bdist_dumb, not an sdist -- bail out
return