summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-17 09:20:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-17 09:20:33 +0000
commit8e92272ca18e7ad9eb381d1138935f024401cf54 (patch)
tree3ff09eedbec9d34c0889181a64a57412b8670854
parent1bd2e17a36a4c7f875399b00f95b4b4897804d42 (diff)
downloadportage-8e92272ca18e7ad9eb381d1138935f024401cf54.tar.gz
portage-8e92272ca18e7ad9eb381d1138935f024401cf54.tar.bz2
portage-8e92272ca18e7ad9eb381d1138935f024401cf54.zip
Call the base class destructor if it exists.
svn path=/main/trunk/; revision=6234
-rw-r--r--pym/portage/tests/bin/setup_env.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/tests/bin/setup_env.py b/pym/portage/tests/bin/setup_env.py
index f6ff59ff1..e0a89f1e2 100644
--- a/pym/portage/tests/bin/setup_env.py
+++ b/pym/portage/tests/bin/setup_env.py
@@ -33,6 +33,8 @@ class BinTestCase(TestCase):
binTestsInit()
def __del__(self):
binTestsCleanup()
+ if hasattr(TestCase, "__del__"):
+ TestCase.__del__(self)
def _exists_in_D(path):
# Note: do not use os.path.join() here, we assume D to end in /