/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 doc/developers/repository-stream.txt

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-11 20:19:38 UTC
  • mfrom: (7526.3.2 work)
  • Revision ID: gustav.hartvigsson@gmail.com-20210111201938-omr9wjz3qdgyxe8k
MergedĀ lp:brz

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
  for record in stream.iter_contents():
167
167
      for factory in record.entries:
168
168
          compression = factory.storage_kind
169
 
          print "Object %s, compression type %s, %d bytes long." % (
 
169
          print("Object %s, compression type %s, %d bytes long." % (
170
170
              record.key_prefix + factory.key,
171
 
              compression, len(factory.get_bytes_as(compression)))
 
171
              compression, len(factory.get_bytes_as(compression))))
172
172
 
173
173
This structure should allow stream adapters to be written which can coerce
174
174
all records to the type of compression that a particular client needs. For