mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-16 12:43:59 +00:00
IgnoreUpdatesContext: rename __exit__() parameters to match Python documentation
It avoids defining `type` which is a builtin.
This commit is contained in:
@@ -574,7 +574,7 @@ class IgnoreUpdatesContext:
|
||||
if self._entered == 1 and self._on_first_enter:
|
||||
self._on_first_enter()
|
||||
|
||||
def __exit__(self, type, value, tb):
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self._entered -= 1
|
||||
if self._on_exit:
|
||||
self._on_exit()
|
||||
|
||||
Reference in New Issue
Block a user