Fixed the bug dir path in BugDirs produced by create_bug_dir
authorAaron Bentley <aaron.bentley@utoronto.ca>
Thu, 24 Mar 2005 12:54:18 +0000 (12:54 +0000)
committerAaron Bentley <aaron.bentley@utoronto.ca>
Thu, 24 Mar 2005 12:54:18 +0000 (12:54 +0000)
libbe/bugdir.py

index e47c1094d117e97f0be99332a2f6f9c0134bbe3d..d81c616d7fe3a62bdf136bbdabbac0114981b65c 100644 (file)
@@ -50,7 +50,7 @@ def create_bug_dir(path, rcs):
     rcs.mkdir(os.path.join(root, "bugs"))
     set_version(root, rcs)
     map_save(rcs, os.path.join(root, "settings"), {"rcs_name": rcs.name})
-    return BugDir(path)
+    return BugDir(os.path.join(path, ".be"))
 
 
 def setting_property(name, valid=None):