From fd38036b9f1693f8f368851d40928bc5922ce606 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 28 Jun 2012 16:38:03 +0200 Subject: remove workarounds for missing next() and hashlib --- test.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'test.py') diff --git a/test.py b/test.py index 1acf5aa..f46a512 100755 --- a/test.py +++ b/test.py @@ -9,18 +9,9 @@ try: import cStringIO as io except ImportError: import StringIO as io -try: - from hashlib import md5 -except ImportError: - from md5 import md5 +from hashlib import md5 import sys -try: - next -except NameError: - def next(iterator): - return iterator.next() - class Request: def __init__(self, case): """ -- cgit v1.2.3