aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-11-17 09:04:37 -0500
committerW. Trevor King <wking@drexel.edu>2009-11-17 09:04:37 -0500
commit2a1bca807d4b94610924343169c813a9f7868147 (patch)
tree1c83c9c2b44ec9aadffdbf0d8c3b93a102080f22
parentc47273486de9ec62dea5838d3e5966652fe683ea (diff)
downloadbugseverywhere-2a1bca807d4b94610924343169c813a9f7868147.tar.gz
Cleanup temp. dir. in libbe.vcs tests.
-rw-r--r--libbe/vcs.py3
1 files changed, 2 insertions, 1 deletions
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):