Add exception info parameters for PackageManager.__exit__()

This commit is contained in:
Eric Torres 2019-05-01 11:24:54 -07:00
parent a69a201e2d
commit fcc406bda7

View File

@ -75,7 +75,7 @@ class PackageManager:
self._lockfile.touch(mode=0o000, exist_ok=False) self._lockfile.touch(mode=0o000, exist_ok=False)
yield self yield self
def __exit__(self): def __exit__(self, exc_type, exc_value, traceback):
"""Remove the package manager's lockfile. After this lockfile is closed, """Remove the package manager's lockfile. After this lockfile is closed,
the package manager this class abstracts can perform transactions once again. the package manager this class abstracts can perform transactions once again.
""" """