def watch_expect():
    try:
        expect = Expect()
        expect.catch(event_cb)
    except KeyboardInterrupt:
        print("Interrupted.")
Beispiel #2
0
def watch_expect():
    try:
        expect = Expect()
        expect.catch(event_cb)
    except KeyboardInterrupt:
        print "Interrupted."