aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-05 03:22:25 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-05 03:22:25 -0500
commit1f59c7ef9019879d0b5e407492e4a6e04c5a29cc (patch)
treebe6c799454b68c3e79ce4a60596a643b6db6662e /becommands
parent129c100046231ed15d2f16eaa90b5c01e41a442c (diff)
downloadbugseverywhere-1f59c7ef9019879d0b5e407492e4a6e04c5a29cc.tar.gz
Added subscriptions option to diff.Diff.report_tree().
Also added diff.BUGDIR_ID to avoid lots of magic 'DIR' definitions, and added diff.Subscription class to make the old (id, type) tuples a bit more elegant.
Diffstat (limited to 'becommands')
-rw-r--r--becommands/subscribe.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/becommands/subscribe.py b/becommands/subscribe.py
index 4220c37..3f4998e 100644
--- a/becommands/subscribe.py
+++ b/becommands/subscribe.py
@@ -163,7 +163,7 @@ you of changes, although there is no way to guarantee this behavior.
Available TYPES:
For bugs:
%s
- For DIR :
+ For %s:
%s
For unsubscription, any listed SERVERS and TYPES are removed from your
@@ -175,7 +175,8 @@ if you're just hacking away on your private repository, you'll known
what's changed ;). This command just (un)sets the appropriate
subscriptions, and leaves it up to each interface to perform the
notification.
-""" % (diff.BUG_TYPE_ALL.string_tree(6), diff.BUGDIR_TYPE_ALL.string_tree(6),
+""" % (diff.BUG_TYPE_ALL.string_tree(6), diff.BUGDIR_ID,
+ diff.BUGDIR_TYPE_ALL.string_tree(6),
diff.BUGDIR_TYPE_ALL)
def help():