gmyth-stream/server/lib.py
author renatofilho
Thu Apr 05 15:26:47 2007 +0100 (2007-04-05)
branchtrunk
changeset 507 178207a9cd61
child 511 16312d0021cb
permissions -rw-r--r--
[svn r512] bug fix
     1 import time
     2 
     3 def now():
     4     return time.strftime("%Y-%m-%d %H:%M:%S");
     5 
     6 def log(msg):
     7     new_msg = "[%s] %s" % (now(), msg)
     8     print new_msg
     9     return new_msg