summaryrefslogtreecommitdiff
path: root/wsgitools/scgi
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2012-03-17 20:18:09 +0100
committerHelmut Grohne <helmut@subdivi.de>2012-03-17 20:18:09 +0100
commit31aef51e3badfd2fdafdc6c15b3a58fcb04607fd (patch)
treeccb9407ca8a8231d2a9401974cf535a08e43da06 /wsgitools/scgi
parent4408cef2a6d161bc2af77412920ade8bab648dbd (diff)
downloadwsgitools-31aef51e3badfd2fdafdc6c15b3a58fcb04607fd.tar.gz
set __all__ in scgi.forkpool
Diffstat (limited to 'wsgitools/scgi')
-rw-r--r--wsgitools/scgi/forkpool.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py
index d4e67d4..aa316d1 100644
--- a/wsgitools/scgi/forkpool.py
+++ b/wsgitools/scgi/forkpool.py
@@ -21,6 +21,8 @@ else:
def exc_info_for_raise(exc_info):
return exc_info[0], exc_info[1], exc_info[2]
+__all__ = []
+
class SocketFileWrapper:
"""Wraps a socket to a wsgi-compliant file-like object."""
def __init__(self, sock, toread):
@@ -158,6 +160,7 @@ class SocketFileWrapper:
for line in lines:
self.write(line)
+__all__.append("SCGIServer")
class SCGIServer:
"""Usage: create an L{SCGIServer} object and invoke the run method which
will then turn this process into an scgi server."""