[Supervisor-checkins] r888 - supervisor/trunk/src/supervisor

Chris McDonough chrism at agendaless.com
Sat Sep 5 15:49:52 EDT 2009


Author: Chris McDonough <chrism at agendaless.com>
Date: Sat Sep  5 15:49:51 2009
New Revision: 888

Log:
Coverage.


Modified:
   supervisor/trunk/src/supervisor/childutils.py

Modified: supervisor/trunk/src/supervisor/childutils.py
==============================================================================
--- supervisor/trunk/src/supervisor/childutils.py	(original)
+++ supervisor/trunk/src/supervisor/childutils.py	Sat Sep  5 15:49:51 2009
@@ -40,7 +40,7 @@
 
 def get_asctime(now=None):
     if now is None: # for testing
-        now = time.time()
+        now = time.time() # pragma: no cover
     msecs = (now - long(now)) * 1000
     part1 = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(now))
     asctime = '%s,%03d' % (part1, msecs)


More information about the Supervisor-checkins mailing list