From 2a1bca807d4b94610924343169c813a9f7868147 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 17 Nov 2009 09:04:37 -0500 Subject: Cleanup temp. dir. in libbe.vcs tests. --- libbe/vcs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libbe/vcs.py b/libbe/vcs.py index d04db28..59dcaf8 100644 --- a/libbe/vcs.py +++ b/libbe/vcs.py @@ -384,7 +384,7 @@ class VCS(object): revision==None specifies the current revision. Return the path to the arbitrary directory at the base of the new repo. """ - # Dirname in Baseir to protect against simlink attacks. + # Dirname in Basedir to protect against simlink attacks. if self._duplicateBasedir == None: self._duplicateBasedir = tempfile.mkdtemp(prefix='BEvcs') self._duplicateDirname = \ @@ -684,6 +684,7 @@ class VCSTestCase(unittest.TestCase): def tearDown(self): self.vcs.cleanup() + self.dir.cleanup() super(VCSTestCase, self).tearDown() def full_path(self, rel_path): -- cgit