/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

Add KMail mail client

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."