diff options
author | W. Trevor King <wking@drexel.edu> | 2008-11-16 14:12:06 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2008-11-16 14:12:06 -0500 |
commit | e7c376ed286b3bf741ae9e364eef7dd2114d77c7 (patch) | |
tree | 095386a2f4f1d7aac1520b4e9689667decff41cf /becommands/set.py | |
parent | dbe327909b048e0709b598fd60f02ef53b25a0ea (diff) | |
download | bugseverywhere-e7c376ed286b3bf741ae9e364eef7dd2114d77c7.tar.gz |
Added 'remove' command to remove bugs. Use __desc__ for command help.
Using the __desc__ reduces documentation duplication. It's also better
than using __doc__, because __doc__ could (should?) be more than one-line
long, and we just want a short description to jog our memories in the
complete command list.
Also moved unique_name from cmdutil.py to names.py to avoid the
bug->cmdutil->bugdir->bug
cyclic include.
Diffstat (limited to 'becommands/set.py')
-rw-r--r-- | becommands/set.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/becommands/set.py b/becommands/set.py index e359df1..8a76133 100644 --- a/becommands/set.py +++ b/becommands/set.py @@ -16,6 +16,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """Change tree settings""" from libbe import cmdutil +__desc__ = __doc__ + def execute(args): """ >>> from libbe import tests |