Roberto C. Sánchez wrote:
So, should the bug be closed?
No, the bug report is against the debian package. It was specifically
encountered in the mailping 0.0.4-1 package from lenny, but also appears
to affects etch (0.0.4-0.1) package as well. I've attached a patch
that seems to address the problem.
diff -Nur mailping-0.0.4/MailPing/maildir.py
mailping-0.0.4.new/MailPing/maildir.py
--- mailping-0.0.4/MailPing/maildir.py 2004-04-16 12:26:25.000000000 -0500
+++ mailping-0.0.4.new/MailPing/maildir.py 2007-12-21 23:56:12.000000000
-0600
@@ -1,4 +1,4 @@
-import os, errno, time, socket
+import os, errno, time, socket, string
def _mkdir(*a, **kw):
try:
@@ -64,7 +64,7 @@
except ValueError:
pass
else:
- return float(seconds + microseconds * 1e-6)
+ return string.atof("%s.%s" % (seconds, microseconds))
return int(seconds)