/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: Andrew Bennetts
  • Date: 2009-08-24 03:08:06 UTC
  • mfrom: (4637 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4639.
  • Revision ID: andrew.bennetts@canonical.com-20090824030806-u0oexn1t9kpoyrru
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2920
2920
    _fmt = 'Cannot bind address "%(host)s:%(port)i": %(orig_error)s.'
2921
2921
 
2922
2922
    def __init__(self, host, port, orig_error):
 
2923
        # nb: in python2.4 socket.error doesn't have a useful repr
2923
2924
        BzrError.__init__(self, host=host, port=port,
2924
 
            orig_error=orig_error[1])
 
2925
            orig_error=repr(orig_error.args))
2925
2926
 
2926
2927
 
2927
2928
class UnknownRules(BzrError):