/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2021-01-10 01:31:27 UTC
  • mfrom: (7526.2.2 merge-3.1)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: breezy.the.bot@gmail.com-20210110013127-vn6x2k2uv21p805n
Merge lp:brz/3.1

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/396037

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