~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-08-09 20:43:00 UTC
  • mto: (2681.5.3 bzr-mail)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: abentley@panoramicfeedback.com-20070809204300-3ws9e76lusyi2siw
Clean up handling of unknown mail clients

Show diffs side-by-side

added added

removed removed

Lines of Context:
2313
2313
class NoMessageSupplied(BzrError):
2314
2314
 
2315
2315
    _fmt = "No message supplied."
 
2316
 
 
2317
 
 
2318
class UnknownMailClient(BzrError):
 
2319
 
 
2320
    _fmt = "Unknown mail client: %(mail_client)s"
 
2321
 
 
2322
    def __init__(self, mail_client):
 
2323
        BzrError.__init__(self, mail_client=mail_client)