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

Revert test checkin to HEAD.

parent 0e727f23
......@@ -13,12 +13,14 @@
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