mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-30 19:38:11 -07:00
Cleanup
This commit is contained in:
@@ -53,8 +53,6 @@ class permit(AbstractContextManager):
|
||||
"""
|
||||
|
||||
def __init__(self, *exceptions): self._exceptions = exceptions
|
||||
|
||||
def __enter__(self): pass
|
||||
|
||||
def __exit__(self, exctype, excinst, exctb):
|
||||
return exctype is not None and not issubclass(exctype, self._exceptions)
|
||||
|
||||
Reference in New Issue
Block a user