Comment 3 for bug 705424

Revision history for this message
Per Ångström (autark) wrote :

I see an inconsistency in the following code from util.py (condensed):

  elif d.seconds < 3600 and d.seconds >= 60:
    # ...
  elif round(d.seconds) < 60:
    # ...
  else: return "BUG: %s" % str(d)

Note the different handling of d.seconds: it is rounded in one expression but not the other. But I'm not fluent in Python so I don't know if this is significant or not.