aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/bugdir.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r--libbe/bugdir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index 7570bb3..f8f45b8 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -174,7 +174,7 @@ class BugDir:
return bugs
def get_bug(self, uuid):
- return Bug(self.bugs_path, uuid, self.rcs_name)
+ return Bug(self.bugs_path, uuid, self.rcs_name, self)
def list_uuids(self):
for uuid in os.listdir(self.bugs_path):
@@ -187,7 +187,7 @@ class BugDir:
uuid = names.uuid()
path = os.path.join(self.bugs_path, uuid)
self.rcs.mkdir(path)
- bug = Bug(self.bugs_path, None, self.rcs_name)
+ bug = Bug(self.bugs_path, None, self.rcs_name, self)
bug.uuid = uuid
return bug