~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-31 21:34:20 UTC
  • mto: This revision was merged to the branch mainline in revision 1981.
  • Revision ID: john@arbash-meinel.com-20060831213420-2297bb5599b11cb9
Fix bug #57723, parse boundary="" correctly, since Squid uses it

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):