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

This commit is contained in:
Darren Ranalli 2007-06-05 04:44:58 +00:00
parent 98efaf0f62
commit 3a169d14b1

View File

@ -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