aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authortkikuchi <>2005-10-23 06:37:31 +0000
committertkikuchi <>2005-10-23 06:37:31 +0000
commit526ca389ee0f95c07624542eda0dbbd543fa6af7 (patch)
tree7731d0a96b8471748a78a0e659b6fc993afe4f6b /Mailman
parent8593b9467211dd03f94dcd1668609cac391b61ba (diff)
downloadmailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.tar.gz
mailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.tar.xz
mailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.zip
Add OverflowError in the except list. (back port from MAIN).
Diffstat (limited to '')
-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 bb0d2f4e..dc239ba2 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