/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-14 23:35:48 UTC
  • mfrom: (2698 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2699.
  • Revision ID: aaron.bentley@utoronto.ca-20070814233548-ctlr8sb1lcufb3ny
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
2308
2308
 
2309
2309
    def __init__(self, error):
2310
2310
        self.error = error
 
2311
 
 
2312
 
 
2313
class SMTPConnectionRefused(SMTPError):
 
2314
 
 
2315
    _fmt = "SMTP connection to %(host)s refused"
 
2316
 
 
2317
    def __init__(self, error, host):
 
2318
        self.error = error
 
2319
        self.host = host
 
2320
 
 
2321
 
 
2322
class DefaultSMTPConnectionRefused(SMTPConnectionRefused):
 
2323
 
 
2324
    _fmt = "Please specify smtp_server.  No server at default %(host)s."