Commit 1a746230 authored by Amos Latteier's avatar Amos Latteier

made callback arg optional

parent 266751aa
...@@ -39,7 +39,7 @@ class ZRendevous: ...@@ -39,7 +39,7 @@ class ZRendevous:
return r return r
finally: self._r() finally: self._r()
def handle(self, name, environ, input, callback): def handle(self, name, environ, input, callback=None):
output=OutputPipe(callback) output=OutputPipe(callback)
self._a() self._a()
try: try:
......
...@@ -39,7 +39,7 @@ class ZRendevous: ...@@ -39,7 +39,7 @@ class ZRendevous:
return r return r
finally: self._r() finally: self._r()
def handle(self, name, environ, input, callback): def handle(self, name, environ, input, callback=None):
output=OutputPipe(callback) output=OutputPipe(callback)
self._a() self._a()
try: try:
......
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