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

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

parent 84c695b8
...@@ -13,14 +13,12 @@ ...@@ -13,14 +13,12 @@
from ZPublisher import publish_module from ZPublisher import publish_module
class ZServerPublisher: class ZServerPublisher:
""" A class which publishes a module over and over """
def __init__(self, accept): def __init__(self, accept):
while 1: while 1:
try: try:
name, request, response=accept() name, request, response = accept()
publish_module( publish_module(name, request=request, response=response)
name,
request=request,
response=response)
finally: finally:
response._finish() 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