Issue #7 new

@message decorator

Gustaw Lewandowski
created an issue

I tried to use message decorator and I found that error: {{{ [Tue Jun 22 00:52:12 2010] {error} Traceback (most recent call last): File "build/bdist.linux-i686/egg/diesel/app.py", line 58, in run self.hub.handle_events() File "build/bdist.linux-i686/egg/diesel/hub.py", line 166, in handle_events self.events[fd]1 File "build/bdist.linux-i686/egg/diesel/core.py", line 408, in connect_callback finish() File "build/bdist.linux-i686/egg/diesel/core.py", line 403, in finish self.multi_callin(pos, nrets)() File "build/bdist.linux-i686/egg/diesel/core.py", line 499, in wake self.iterate(value, callstack) File "build/bdist.linux-i686/egg/diesel/core.py", line 464, in iterate ret.go(inherit_callstack=self.fullstack) TypeError: go() got an unexpected keyword argument 'inherit_callstack' }}}

I think that ret.go should not be called with inherit_callstack arg for message, because 'go' method does not have this arg. {{{ class message(call): ... def go(self): }}}

Additionally, would be nice to see some example how to use it.

Thanks, Gustaw

Comments (0)

  1. Log in to comment