diff options
author | tkikuchi <> | 2005-10-23 06:37:31 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-10-23 06:37:31 +0000 |
commit | 526ca389ee0f95c07624542eda0dbbd543fa6af7 (patch) | |
tree | 7731d0a96b8471748a78a0e659b6fc993afe4f6b | |
parent | 8593b9467211dd03f94dcd1668609cac391b61ba (diff) | |
download | mailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.tar.gz mailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.tar.xz mailman2-526ca389ee0f95c07624542eda0dbbd543fa6af7.zip |
Add OverflowError in the except list. (back port from MAIN).
-rw-r--r-- | Mailman/Handlers/Scrubber.py | 2 |
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 |