/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 bzrlib/errors.py

  • Committer: Ian Clatworthy
  • Date: 2008-06-25 11:37:34 UTC
  • mto: (3515.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: ian.clatworthy@canonical.com-20080625113734-n4cko5tclbnx9wgp
add UnknownRules class & test

Show diffs side-by-side

added added

removed removed

Lines of Context:
2738
2738
    def __init__(self, host, port, orig_error):
2739
2739
        BzrError.__init__(self, host=host, port=port,
2740
2740
            orig_error=orig_error[1])
 
2741
 
 
2742
 
 
2743
class UnknownRules(BzrError):
 
2744
 
 
2745
    _fmt = ('Unknown rules detected: %(unknowns_str)s.')
 
2746
 
 
2747
    def __init__(self, unknowns):
 
2748
        BzrError.__init__(self, unknowns_str=", ".join(unknowns))