[cfe-commits] r101591 - /cfe/trunk/utils/CIndex/completion_logger_server.py

Ted Kremenek kremenek at apple.com
Fri Apr 16 17:33:24 PDT 2010


Author: kremenek
Date: Fri Apr 16 19:33:24 2010
New Revision: 101591

URL: http://llvm.org/viewvc/llvm-project?rev=101591&view=rev
Log:
Make script actually work.

Modified:
    cfe/trunk/utils/CIndex/completion_logger_server.py

Modified: cfe/trunk/utils/CIndex/completion_logger_server.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/CIndex/completion_logger_server.py?rev=101591&r1=101590&r2=101591&view=diff
==============================================================================
--- cfe/trunk/utils/CIndex/completion_logger_server.py (original)
+++ cfe/trunk/utils/CIndex/completion_logger_server.py Fri Apr 16 19:33:24 2010
@@ -30,7 +30,7 @@
       break
     else:
       f.write("{ ");
-      f.write("\"time\": \"{0}\"".format(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
+      f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
       f.write(", \"sender\": \"{0}\" ".format(addr[0]))
       f.write(", data: ")
       f.write(data)





More information about the cfe-commits mailing list