misc foo
authorCameron Patrick <cameron@ucc.gu.uwa.edu.au>
Sun, 1 Aug 2004 06:31:43 +0000 (06:31 +0000)
committerCameron Patrick <cameron@ucc.gu.uwa.edu.au>
Sun, 1 Aug 2004 06:31:43 +0000 (06:31 +0000)
sql-edition/servers/LATClient.py

index fa2b297..f1a9ca0 100644 (file)
@@ -20,11 +20,11 @@ def read_for_a_bit(rfh):
                        message = message + rfh.read(1)
                else:
                        break
-       print "Received message: ", message
+       print "Received message: ", repr(message)
        return message
 
 def write_expecting_echo(rfh, wfh, message):
-       print "Writing message:",message
+       print "Writing message:", repr(message)
        while len(message) > 0:
                wfh.write(message[0])
                wfh.flush()

UCC git Repository :: git.ucc.asn.au