diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-01-11 13:52:33 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-01-11 13:52:33 +0000 |
commit | ca7a07d735634da0cf27096912996f699e739281 (patch) | |
tree | 7e9e0d81982e2021af9fee2f203ac1bb63637407 /morphlib | |
parent | f672505c89e0c0854af85ff2f0fdfe61415ca57e (diff) | |
download | morph-ca7a07d735634da0cf27096912996f699e739281.tar.gz |
do not try to use object.__del__
object does not have __del__ so there's never a point in
trying to use it.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/execute.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/morphlib/execute.py b/morphlib/execute.py index 1e2f8eae..7b6cf585 100644 --- a/morphlib/execute.py +++ b/morphlib/execute.py @@ -42,10 +42,6 @@ class Execute(object): self._fakeroot_session = None def __del__(self): # pragma: no cover - try: - object.__del__(self) - except AttributeError: - pass # pragma: no cover if self._fakeroot_session: os.remove(self._fakeroot_session) |