summaryrefslogtreecommitdiff
path: root/morphlib/execute.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-11 13:52:33 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-01-11 13:52:33 +0000
commitca7a07d735634da0cf27096912996f699e739281 (patch)
tree7e9e0d81982e2021af9fee2f203ac1bb63637407 /morphlib/execute.py
parentf672505c89e0c0854af85ff2f0fdfe61415ca57e (diff)
downloadmorph-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/execute.py')
-rw-r--r--morphlib/execute.py4
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)