From a09c0b0efd3b71306b9293837850aec1887f6b98 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 24 Jul 2013 22:31:56 +0200 Subject: Remove unused imports --- setuptools/package_index.py | 5 ++--- 1 file 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 -- cgit v1.2.3