gmyth-stream/lib.py
branchtrunk
changeset 480 f6fc378c70e5
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:48:43 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