summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/asynchronous.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-06-28 16:12:52 +0200
committerHelmut Grohne <helmut@subdivi.de>2012-06-28 16:12:52 +0200
commitee5abb0e0b24b4e1ac31412a279a40e166482fce (patch)
tree011e53de9cccec90864052c9bb6506f6b6ac31c9 /wsgitools/scgi/asynchronous.py
parent17dbb95ded62f9789a60a913c008ce2217f6d1a5 (diff)
downloadwsgitools-ee5abb0e0b24b4e1ac31412a279a40e166482fce.tar.gz
drop support for python2.5, use except ... as ...
Diffstat (limited to 'wsgitools/scgi/asynchronous.py')
-rw-r--r--wsgitools/scgi/asynchronous.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/scgi/asynchronous.py b/wsgitools/scgi/asynchronous.py
index 386e1d0..1dee283 100644
--- a/wsgitools/scgi/asynchronous.py
+++ b/wsgitools/scgi/asynchronous.py
@@ -262,7 +262,7 @@ class SCGIServer(asyncore.dispatcher):
"""asyncore interface"""
try:
ret = self.accept()
- except socket.error, err:
+ except socket.error as err:
# See http://bugs.python.org/issue6706
if err.args[0] not in (errno.ECONNABORTED, errno.EAGAIN):
raise