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, 4 insertions, 0 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py
index cf8cba5..41f0fec 100644
--- a/libbe/bugdir.py
+++ b/libbe/bugdir.py
@@ -195,6 +195,10 @@ class BugDir:
self.rcs.mkdir(path)
bug = Bug(self.bugs_path, None, self.rcs, self)
bug.uuid = uuid
+ bug.creator = self.rcs.get_user_id()
+ bug.severity = "minor"
+ bug.status = "open"
+ bug.time = time.time()
return bug
class InvalidValue(ValueError):