From: Mike C. F. <mcf...@us...> - 2005-09-17 04:36:58
|
Update of /cvsroot/pydispatcher/dispatch/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8143/examples Modified Files: simple_sample.py Log Message: Fix the samples print statements to make sense wrt direction of the events Index: simple_sample.py =================================================================== RCS file: /cvsroot/pydispatcher/dispatch/examples/simple_sample.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** simple_sample.py 6 Jul 2003 22:53:21 -0000 1.2 --- simple_sample.py 17 Sep 2005 04:36:50 -0000 1.3 *************** *** 58,62 **** sender = ourObjects[0], ) ! print "Sending DO_LOTS to first object" dispatcher.send( signal = DO_LOTS, --- 58,62 ---- sender = ourObjects[0], ) ! print "Sending DO_LOTS from first object" dispatcher.send( signal = DO_LOTS, *************** *** 64,68 **** table = "Table Argument", ) ! print "Sending DO_SOMETHING to first object" dispatcher.send( signal = DO_SOMETHING, --- 64,68 ---- table = "Table Argument", ) ! print "Sending DO_SOMETHING from first object" dispatcher.send( signal = DO_SOMETHING, *************** *** 70,74 **** table = "Table Argument", ) ! print "Sending DO_SOMETHING_ELSE to first object" dispatcher.send( signal = DO_SOMETHING_ELSE, --- 70,74 ---- table = "Table Argument", ) ! print "Sending DO_SOMETHING_ELSE from first object" dispatcher.send( signal = DO_SOMETHING_ELSE, |