~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2009-08-21 00:41:22 UTC
  • mto: This revision was merged to the branch mainline in revision 4636.
  • Revision ID: mbp@sourcefrog.net-20090821004122-la890c1wl83j6g5r
Avoid IndexError constructing CannotBindAddress

Show diffs side-by-side

added added

removed removed

Lines of Context:
2921
2921
 
2922
2922
    def __init__(self, host, port, orig_error):
2923
2923
        BzrError.__init__(self, host=host, port=port,
2924
 
            orig_error=orig_error[1])
 
2924
            orig_error=repr(orig_error))
2925
2925
 
2926
2926
 
2927
2927
class UnknownRules(BzrError):