changed api._SilentException not to derive from Exception thus reducing risk of user catching it

This commit is contained in:
Denis Bilenko
2009-01-13 01:18:42 +06:00
parent 3b210e1769
commit 514d5fee8c

View File

@@ -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: