Commit 7f3cb450 authored by Chris McDonough's avatar Chris McDonough

Revert test checkin to HEAD.

parent 0e727f23
...@@ -13,12 +13,14 @@ ...@@ -13,12 +13,14 @@
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(name, request=request, response=response) publish_module(
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