diff options
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 5 |
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 |