From: W. Trevor King Date: Tue, 17 Nov 2009 14:04:37 +0000 (-0500) Subject: Cleanup temp. dir. in libbe.vcs tests. X-Git-Tag: 1.0.0~59^2~83^2~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2a1bca807d4b94610924343169c813a9f7868147;p=be.git Cleanup temp. dir. in libbe.vcs tests. --- 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):