/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 breezy/tests/test_chk_map.py

  • Committer: Martin
  • Date: 2017-05-25 01:35:55 UTC
  • mto: This revision was merged to the branch mainline in revision 6637.
  • Revision ID: gzlist@googlemail.com-20170525013555-lepzczdnzb9r272j
Apply 2to3 next fixer and make compatible

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
    def read_bytes(self, chk_bytes, key):
87
87
        stream = chk_bytes.get_record_stream([key], 'unordered', True)
88
 
        record = stream.next()
 
88
        record = next(stream)
89
89
        if record.storage_kind == 'absent':
90
90
            self.fail('Store does not contain the key %s' % (key,))
91
91
        return record.get_bytes_as("fulltext")