Browse Source

shorten the fractional output of previous checkin (long task logging)

Darren Ranalli 18 years ago
parent
commit
3a169d14b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/task/Task.py

+ 1 - 1
direct/src/task/Task.py

@@ -717,7 +717,7 @@ class TaskManager:
         # warn if the task took too long
         if self.warnTaskDuration:
             if dt >= self.taskDurationWarningThreshold:
-                TaskManager.notify.warning('task %s ran for %s seconds' % (
+                TaskManager.notify.warning('task %s ran for %.2f seconds' % (
                     task.name, dt))
             
         return ret