Commit 0e727f23 authored by Chris McDonough's avatar Chris McDonough

Test checkin for chrism-zserver-connection-policy-branch.

parent 84c695b8
......@@ -13,14 +13,12 @@
from ZPublisher import publish_module
class ZServerPublisher:
""" A class which publishes a module over and over """
def __init__(self, accept):
while 1:
try:
name, request, response=accept()
publish_module(
name,
request=request,
response=response)
name, request, response = accept()
publish_module(name, request=request, response=response)
finally:
response._finish()
request=response=None
request = response = None
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment