gmyth-stream/lib.py
branchtrunk
changeset 483 8edb3b445cac
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	Tue Apr 03 16:05:00 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