aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-24 22:31:56 +0200
committerJason R. Coombs <jaraco@jaraco.com>2013-07-24 22:31:56 +0200
commita09c0b0efd3b71306b9293837850aec1887f6b98 (patch)
treee35443d225036953783911f2e4f1ba4419145119 /setuptools/package_index.py
parent8fa3b1dce8af41e3fd9acbb1b2db0dd38bcfb09b (diff)
downloadexternal_python_setuptools-a09c0b0efd3b71306b9293837850aec1887f6b98.tar.gz
external_python_setuptools-a09c0b0efd3b71306b9293837850aec1887f6b98.tar.bz2
external_python_setuptools-a09c0b0efd3b71306b9293837850aec1887f6b98.zip
Remove unused imports
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index b1b38f03..88f04809 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -1,6 +1,5 @@
"""PyPI and direct package downloading"""
-import sys, os.path, re, shutil, random, socket
-import itertools
+import sys, os.path, re, shutil, socket
import base64
from setuptools import ssl_support
from pkg_resources import *
@@ -223,7 +222,7 @@ class HashChecker(ContentChecker):
def __init__(self, hash_name, expected):
self.hash_name = hash_name
- self.hash = hashlib.new(hash_name)
+ self.hash = hashlib.new(hash_name)
self.expected = expected
@classmethod