summaryrefslogtreecommitdiff
path: root/wsgitools/scgi
diff options
context:
space:
mode:
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."""