From 526ca389ee0f95c07624542eda0dbbd543fa6af7 Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Sun, 23 Oct 2005 06:37:31 +0000 Subject: Add OverflowError in the except list. (back port from MAIN). --- Mailman/Handlers/Scrubber.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman') 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 -- cgit v1.2.3