[Tinyos-2-commits] CVS: tinyos-2.x/support/sdk/python tos.py, 1.4, 1.5

Razvan Musaloiu-E. razvanm at users.sourceforge.net
Mon Dec 29 15:52:05 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/support/sdk/python
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11923

Modified Files:
	tos.py 
Log Message:
Don't print empty lines in the PRINTF from tos.py


Index: tos.py
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/sdk/python/tos.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tos.py	25 Dec 2008 04:45:37 -0000	1.4
--- tos.py	29 Dec 2008 23:52:03 -0000	1.5
***************
*** 408,412 ****
          lines = s.split('\n')
          for line in lines:
!             print "PRINTF:", line
          packet = None # No further processing for the printf packet
      return packet    
--- 408,412 ----
          lines = s.split('\n')
          for line in lines:
!             if line: print "PRINTF:", line
          packet = None # No further processing for the printf packet
      return packet    



More information about the Tinyos-2-commits mailing list