aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):