aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/arch.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-31 14:59:06 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-31 14:59:06 -0400
commit58cba607535cd33c97fd5dc3737c9da4afa9a6bb (patch)
tree7f5cfec092fe27735bf1228fb124601a920fc85f /libbe/arch.py
parent3c4ce1b4519186007f2568569b1bff55cdbb108f (diff)
downloadbugseverywhere-58cba607535cd33c97fd5dc3737c9da4afa9a6bb.tar.gz
Improved unittest cleanup by adding BugDir.cleanup().
Also simple_bug_dir -> SimpleBugDir class, which allows me to add utility.Dir cleanup to SimpleBugDir.cleanup(). Still having a bit of trouble with the becommand.new tests due to bugdir loading though...
Diffstat (limited to 'libbe/arch.py')
-rw-r--r--libbe/arch.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbe/arch.py b/libbe/arch.py
index 1bdc8ae..63e39e3 100644
--- a/libbe/arch.py
+++ b/libbe/arch.py
@@ -62,7 +62,11 @@ class Arch(RCS):
self._create_project(path)
self._add_project_code(path)
def _create_archive(self, path):
- # Create a new archive
+ """
+ Create a temporary Arch archive in the directory PATH. This
+ archive will be removed by
+ __del__->cleanup->_rcs_cleanup->_remove_archive
+ """
# http://regexps.srparish.net/tutorial-tla/new-archive.html#Creating_a_New_Archive
assert self._archive_name == None
id = self.get_user_id()