/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/transport/http/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-14 19:08:56 UTC
  • mto: (1910.19.18 smart-server-readv)
  • mto: This revision was merged to the branch mainline in revision 2017.
  • Revision ID: john@arbash-meinel.com-20060914190856-746db7da49f34568
review feedback: add the actual count written to ShortReadvError

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
            data = f.read(size)
257
257
            if len(data) != size:
258
258
                raise errors.ShortReadvError(relpath, start, size,
259
 
                            extra='Only read %s bytes' % (len(data),))
 
259
                                             actual=len(data))
260
260
            yield start, data
261
261
 
262
262
    @staticmethod