diff options
author | W. Trevor King <wking@drexel.edu> | 2008-12-04 12:40:39 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-12-04 12:40:39 -0500 |
commit | 72f9263f3d812fb817e0bc4f5c7d07b60df2cd6c (patch) | |
tree | b1bb38c83342d10fcdf0b66bedbdcc1c389bad94 /libbe | |
parent | ef6b94bbba261c38ed9f136c4b370e07b9edf0fb (diff) | |
download | bugseverywhere-72f9263f3d812fb817e0bc4f5c7d07b60df2cd6c.tar.gz |
Added per-tree default assignee option.
The new setting is currently only used when creating new bugs with
becommand/new.
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/bugdir.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 443dfc5..98110dd 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -170,12 +170,17 @@ class BugDir (list, settings_object.SavedSettingsObject): @_versioned_property(name="user_id", doc= -"""The user's prefered name, e.g 'John Doe <jdoe@example.com>'. Note +"""The user's prefered name, e.g. 'John Doe <jdoe@example.com>'. Note that the Arch RCS backend *enforces* ids with this format.""", change_hook=_set_user_id, generator=_guess_user_id) def user_id(): return {} + @_versioned_property(name="default_assignee", + doc= +"""The default assignee for new bugs e.g. 'John Doe <jdoe@example.com>'.""") + def default_assignee(): return {} + @_versioned_property(name="rcs_name", doc="""The name of the current RCS. Kept seperate to make saving/loading settings easy. Don't set this attribute. Set .rcs instead, and |