From 514d5fee8cfea5f8d1bd8436a6f7ed8dc98331ed Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Tue, 13 Jan 2009 01:18:42 +0600 Subject: [PATCH] changed api._SilentException not to derive from Exception thus reducing risk of user catching it --- eventlet/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventlet/api.py b/eventlet/api.py index 7bcf4f7..8ba0465 100644 --- a/eventlet/api.py +++ b/eventlet/api.py @@ -312,7 +312,7 @@ def call_after_local(seconds, function, *args, **kwds): # for compatibility with original eventlet API call_after = call_after_local -class _SilentException(Exception): +class _SilentException: pass class FakeTimer: