summaryrefslogtreecommitdiff
path: root/wsgitools/middlewares.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-06-28 16:38:03 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-06-28 16:38:03 +0200
commitfd38036b9f1693f8f368851d40928bc5922ce606 (patch)
treef4f19368c960aeee1871dd809c4b064e2c7b618b /wsgitools/middlewares.py
parentee5abb0e0b24b4e1ac31412a279a40e166482fce (diff)
downloadwsgitools-fd38036b9f1693f8f368851d40928bc5922ce606.tar.gz
remove workarounds for missing next() and hashlib
Diffstat (limited to 'wsgitools/middlewares.py')
-rw-r--r--wsgitools/middlewares.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py
index 804d474..dbf2020 100644
--- a/wsgitools/middlewares.py
+++ b/wsgitools/middlewares.py
@@ -11,11 +11,6 @@ try:
import cStringIO as io
except ImportError:
import StringIO as io
-try:
- next
-except NameError:
- def next(iterator):
- return iterator.next()
if sys.version_info[0] >= 3:
def exc_info_for_raise(exc_info):