branch | trunk |
changeset 474 | 07c12d2ceddf |
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 Sat Mar 31 00:55:28 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