[ create a new paste ] login | about

Link: http://codepad.org/azWjzD8F    [ raw code | fork ]

Python, pasted on Dec 17:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env ptyhon


from circuits import Component, Debugger, Event


class foo(Event):
    """foo Event"""


class App(Component):

    def started(self, *args):
        x = yield self.call(foo(), timeout=2)
        print x


(App() + Debugger()).run()


Create a new paste based on this one


Comments: