diff options
author | Helmut Grohne <helmut@subdivi.de> | 2012-06-28 16:38:03 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2012-06-28 16:38:03 +0200 |
commit | fd38036b9f1693f8f368851d40928bc5922ce606 (patch) | |
tree | f4f19368c960aeee1871dd809c4b064e2c7b618b /test.py | |
parent | ee5abb0e0b24b4e1ac31412a279a40e166482fce (diff) | |
download | wsgitools-fd38036b9f1693f8f368851d40928bc5922ce606.tar.gz |
remove workarounds for missing next() and hashlib
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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): """ |