diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-23 11:27:59 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-23 11:27:59 -0400 |
commit | cff3dd5c32cb67b47d2712cf6a1b51e7b6eead4b (patch) | |
tree | f2ca214c2656675f10b83a0b2ebaa49c91279593 /.be/bugs/e0858b12-0be3-49bb-ad7a-030e488bb2f1/comments | |
parent | e4fb67ebd5dff9e33e0d2a842cbb102e7d66946d (diff) | |
download | bugseverywhere-cff3dd5c32cb67b47d2712cf6a1b51e7b6eead4b.tar.gz |
Added Tree types and get_bugdir_subscribers to becommands/subscribe.py.
The Tree subclass SubscriptionType may be a few more lines to setup,
but they should be really easy to extend and will automatically keep
the longhelp and type handling in sync.
An example extension for bugdir types would be
all -> assigned -> <user>
to subscribe only to bugs being assigned to the specified user. You'd
have to loosen the currently strict InvalidType checking to make that
work, but the current type-tree handling would be up to the task.
Also a bit of reorganizing to hide the private functions.
Diffstat (limited to '.be/bugs/e0858b12-0be3-49bb-ad7a-030e488bb2f1/comments')
0 files changed, 0 insertions, 0 deletions