From: Zac Medico Date: Sat, 17 Mar 2007 09:20:33 +0000 (-0000) Subject: Call the base class destructor if it exists. X-Git-Tag: v2.2_pre1~1566 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e92272ca18e7ad9eb381d1138935f024401cf54;p=portage.git Call the base class destructor if it exists. svn path=/main/trunk/; revision=6234 --- 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 /