Permalink
Browse files

missing names in evloop

  • Loading branch information...
1 parent 0939c24 commit b9def9b5a1c0a2ee3271876041c8bcce113b46f3 @rep committed Dec 10, 2012
Showing with 8 additions and 3 deletions.
  1. +7 −1 py/pwrcall/evloop.py
  2. +1 −2 py/pwrcall/gev.py
View
@@ -21,7 +21,13 @@ def shutdown_callback(*args, **kwargs):
return current_evloop.shutdown_callback(*args, **kwargs)
def listenplain(*args, **kwargs):
return current_evloop.listenplain(*args, **kwargs)
+def connectplain(*args, **kwargs):
+ return current_evloop.connectplain(*args, **kwargs)
+def listenssl(*args, **kwargs):
+ return current_evloop.listenssl(*args, **kwargs)
+def connectssl(*args, **kwargs):
+ return current_evloop.connectssl(*args, **kwargs)
def later(*args, **kwargs):
return current_evloop.later(*args, **kwargs)
-hints = []
+hints = []
View
@@ -72,8 +72,7 @@ class Node(rpcnode.Node):
local = gevent.local.local()
def __init__(self, *args, **kwargs):
- rpcnode.Node.__init__(self, *args, **kwargs)
- self.eventloop = geventLoopAdapter
+ rpcnode.Node.__init__(self, *args, eventloop=geventLoopAdapter, **kwargs)
def refurl(self, ref):
return 'pwrcall://{0}@{1}/{2}'.format(self.fp, '', ref.encode('base64').strip())

0 comments on commit b9def9b

Please sign in to comment.