1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gmyth-stream/lib.py Fri Mar 30 23:09:39 2007 +0100
1.3 @@ -0,0 +1,7 @@
1.4 +import time
1.5 +
1.6 +def now():
1.7 + return time.strftime("%Y-%m-%d %H:%M:%S");
1.8 +
1.9 +def log(msg):
1.10 + print "[%s] %s" % (now(), msg)