Project

General

Profile

Revision 262

added debugging printouts

View differences:

trunk/swipe/tooltron.py
300 300
            resp = None
301 301

  
302 302
            [src,dest,cmd,data] = msg
303
            print "tooltron.py has message:"
304
            print "src:", src
305
            print "dest:", dest
306
            print "cmd:", cmd
307
            print "data: {",data,"}"
308

  
303 309
            #TODO: no magic number '2' for cardbox or '1' for server
304 310
            if src == 2 and dest == 1:
305 311
               if cmd == common.TT_ACK:

Also available in: Unified diff