/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: Aaron Bentley
  • Date: 2007-08-13 14:15:50 UTC
  • mfrom: (2696 +trunk)
  • mto: (2681.5.3 bzr-mail)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: abentley@panoramicfeedback.com-20070813141550-2op9epayeexxqh62
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2332
2332
        mail_command_list_string = ', '.join(mail_command_list)
2333
2333
        BzrError.__init__(self, mail_command_list=mail_command_list,
2334
2334
                          mail_command_list_string=mail_command_list_string)
 
2335
 
 
2336
class SMTPConnectionRefused(SMTPError):
 
2337
 
 
2338
    _fmt = "SMTP connection to %(host)s refused"
 
2339
 
 
2340
    def __init__(self, error, host):
 
2341
        self.error = error
 
2342
        self.host = host
 
2343
 
 
2344
 
 
2345
class DefaultSMTPConnectionRefused(SMTPConnectionRefused):
 
2346
 
 
2347
    _fmt = "Please specify smtp_server.  No server at default %(host)s."