Exemplo n.º 1
0
 def handler(dr):
     assert dr.getJobID() == 123
     assert dr.get() == 321
 def handler(dr):
     assert dr.getJobID() == 123
     assert dr.get() == 321
Exemplo n.º 3
0
 def consumer(dr):  # never gets called but as example
     print 'Got dr=', dr.get()
     app.ExitMainLoop()
 def consumer(dr): # never gets called but as example
     print 'Got dr=', dr.get()
     app.ExitMainLoop()