/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/rules.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-30 23:53:38 UTC
  • mfrom: (6734.1.22 move-errors-more)
  • Revision ID: jelmer@jelmer.uk-20170730235338-25jy0lgifkyx796l
Merge lp:~jelmer/brz/move-errors-more.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
_per_user_searcher = None
44
44
 
45
45
 
 
46
class UnknownRules(errors.BzrError):
 
47
 
 
48
    _fmt = ('Unknown rules detected: %(unknowns_str)s.')
 
49
 
 
50
    def __init__(self, unknowns):
 
51
        errors.BzrError.__init__(self, unknowns_str=", ".join(unknowns))
 
52
 
 
53
 
46
54
class _RulesSearcher(object):
47
55
    """An object that provides rule-based preferences."""
48
56