~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/_pycurl.py

  • Committer: John Arbash Meinel
  • Date: 2007-06-28 23:18:09 UTC
  • mfrom: (2562 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070628231809-pqbt7puoqj8bl07b
[merge] bzr.dev 2562

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
            # Forget ranges, the server can't handle them
200
200
            return self._get_full(relpath)
201
201
 
202
 
        self._curl_perform(curl, header,
203
 
                           ['Range: bytes=%s'
204
 
                            % self.range_header(ranges, tail_amount)])
 
202
        self._curl_perform(curl, header, ['Range: bytes=%s' % range_header])
205
203
        data.seek(0)
206
204
 
207
205
        code = curl.getinfo(pycurl.HTTP_CODE)