~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-01 17:37:35 UTC
  • mfrom: (1979.1.2 boundary-quotes-57723)
  • Revision ID: pqm@pqm.ubuntu.com-20060901173735-543e9acad03760d1
(jam) fix bug #57723: failure when using SQUID proxy

Show diffs side-by-side

added added

removed removed

Lines of Context:
795
795
 
796
796
 
797
797
class InvalidRange(TransportError):
798
 
    """Invalid range access."""
 
798
    """Invalid range access in %(path)s at %(offset)s."""
799
799
    
800
800
    def __init__(self, path, offset):
801
801
        TransportError.__init__(self, ("Invalid range access in %s at %d"
802
802
                                       % (path, offset)))
 
803
        self.path = path
 
804
        self.offset = offset
803
805
 
804
806
 
805
807
class InvalidHttpResponse(TransportError):