Commit 7f20fdae authored by Amos Latteier's avatar Amos Latteier

added module name to the request

parent ebf67a60
...@@ -3,10 +3,10 @@ from ZPublisher import publish_module ...@@ -3,10 +3,10 @@ from ZPublisher import publish_module
from cStringIO import StringIO from cStringIO import StringIO
class ZServerPublisher: class ZServerPublisher:
def __init__(self, name, accept): def __init__(self, accept):
while 1: while 1:
input, output, environ = accept()
try: try:
name,input,output,environ=accept()
publish_module( publish_module(
name, name,
stdin=input, stdin=input,
......
...@@ -3,10 +3,10 @@ from ZPublisher import publish_module ...@@ -3,10 +3,10 @@ from ZPublisher import publish_module
from cStringIO import StringIO from cStringIO import StringIO
class ZServerPublisher: class ZServerPublisher:
def __init__(self, name, accept): def __init__(self, accept):
while 1: while 1:
input, output, environ = accept()
try: try:
name,input,output,environ=accept()
publish_module( publish_module(
name, name,
stdin=input, stdin=input,
......
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