Use new libbe.diff.Diff.report_tree(subscriptions) in be-handle-mail.
authorW. Trevor King <wking@drexel.edu>
Sat, 5 Dec 2009 12:41:50 +0000 (07:41 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 5 Dec 2009 12:41:50 +0000 (07:41 -0500)
commitcc58188259e36193c3174fbb55e37c790382a7ea
treed15b1a702dc720b1a193ff43a5feecd15c08bf1e
parent167a8d2ae883fecf4e9d375e333e406dc723ef3b
Use new libbe.diff.Diff.report_tree(subscriptions) in be-handle-mail.

This makes Message.subscriber_emails() much cleaner.

Also fix libbe.diff.Diff._sub_report() to handle missing
'bugdir/settings'.

Added libbe.diff.SubscriptionType.__cmp__ so that
  SubscriptionType('all') == SubscriptionType('all')
This is important when comparing the types returned by
  becommands.subscribe.get_bugdir_subscribers()
with the libbe.diff.*_TYPE_* types.
interfaces/email/interactive/be-handle-mail
libbe/diff.py