Add a timestamp to the log_operational_error

Signed-off-by: Scott Zawalski <scottz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2799 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/tko/db.py b/tko/db.py
index 442f8af..d1c5270 100644
--- a/tko/db.py
+++ b/tko/db.py
@@ -119,8 +119,8 @@
 
 
     def _log_operational_error(self, e):
-        msg = ("An operational error occured during a database "
-               "operation: %s" % str(e))
+        msg = ("%s: An operational error occured during a database "
+               "operation: %s" % (time.strftime("%X %x"), str(e))
         print >> sys.stderr, msg
         sys.stderr.flush() # we want these msgs to show up immediately