branch | trunk |
changeset 479 | 5e1afa4a66e8 |
parent 470 | 57833200a415 |
1.1 --- a/gmyth-stream/lib.py Fri Mar 30 04:12:52 2007 +0100 1.2 +++ b/gmyth-stream/lib.py Mon Apr 02 20:05:56 2007 +0100 1.3 @@ -4,4 +4,6 @@ 1.4 return time.strftime("%Y-%m-%d %H:%M:%S"); 1.5 1.6 def log(msg): 1.7 - print "[%s] %s" % (now(), msg) 1.8 + new_msg = "[%s] %s" % (now(), msg) 1.9 + print new_msg 1.10 + return new_msg