diff --git a/modules/recheckwatch/files/recheckwatch b/modules/recheckwatch/files/recheckwatch index 6fa35ec36f..51836c20e1 100755 --- a/modules/recheckwatch/files/recheckwatch +++ b/modules/recheckwatch/files/recheckwatch @@ -138,13 +138,10 @@ class Scoreboard(threading.Thread): def impact(bug): """Golf rules for bugs, smaller the more urgent.""" - age = (now - bug.last_seen).days - - if not age: - age = 0.1 + age = (now - bug.last_seen).total_seconds() if bug.is_closed(): - age = age + 5.0 + age = age + (5.0 * 86400.0) return age