summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkikuchi2005-09-19 12:15:23 +0000
committertkikuchi2005-09-19 12:15:23 +0000
commitf27af8b4f98efc8173dd087a87e7cb99dace15ed (patch)
tree56a33d81bb10d45e9e5e3d3cbf1d55086a94e26a
parent48ebf3bb2d9bb185696c7ab5ed1f569bba6ff40f (diff)
downloadmailman-f27af8b4f98efc8173dd087a87e7cb99dace15ed.tar.gz
mailman-f27af8b4f98efc8173dd087a87e7cb99dace15ed.tar.zst
mailman-f27af8b4f98efc8173dd087a87e7cb99dace15ed.zip
Add OverflowError in the except list.
See the thread beginning this post: http://mail.python.org/pipermail/mailman-users/2005-September/046460.html
-rw-r--r--Mailman/Handlers/Scrubber.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/Scrubber.py b/Mailman/Handlers/Scrubber.py
index bb0d2f4e8..dc239ba2a 100644
--- a/Mailman/Handlers/Scrubber.py
+++ b/Mailman/Handlers/Scrubber.py
@@ -113,7 +113,7 @@ class ScrubberGenerator(Generator):
def safe_strftime(fmt, floatsecs):
try:
return time.strftime(fmt, floatsecs)
- except (TypeError, ValueError):
+ except (TypeError, ValueError, OverflowError):
return None