diff options
author | Chris Ball <cjb@laptop.org> | 2009-10-05 23:16:33 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2009-10-05 23:16:33 -0400 |
commit | a98bc33f0c1b4a5ade5366b84f1d451d89491a9f (patch) | |
tree | b5eb3d24478fca78849a0f758da959b84b0577ed /libbe/vcs.py | |
parent | b6a50c703369467132876f21efa8e4ffc672afae (diff) | |
parent | aa7546258e3f24bec3df2d8c4b203ed08e0acbce (diff) | |
download | bugseverywhere-a98bc33f0c1b4a5ade5366b84f1d451d89491a9f.tar.gz |
Silence testsuite warnings, from W. Trevor King.
Diffstat (limited to 'libbe/vcs.py')
-rw-r--r-- | libbe/vcs.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libbe/vcs.py b/libbe/vcs.py index 179339e..da1f800 100644 --- a/libbe/vcs.py +++ b/libbe/vcs.py @@ -50,7 +50,7 @@ def _get_matching_vcs(matchfn): vcs = module.new() if matchfn(vcs) == True: return vcs - del(vcs) + vcs.cleanup() return VCS() def vcs_by_name(vcs_name): @@ -124,8 +124,6 @@ class VCS(object): self._duplicateBasedir = None self._duplicateDirname = None self.encoding = encoding - def __del__(self): - self.cleanup() def _vcs_help(self): """ @@ -674,7 +672,7 @@ class VCSTestCase(unittest.TestCase): setup_vcs_test_fixtures(self) def tearDown(self): - del(self.vcs) + self.vcs.cleanup() super(VCSTestCase, self).tearDown() def full_path(self, rel_path): |