/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/per_workingtree/test_parents.py

  • Committer: Martin
  • Date: 2017-06-05 20:48:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6658.
  • Revision ID: gzlist@googlemail.com-20170605204831-20accykspjcrx0a8
Apply 2to3 dict fixer and clean up resulting mess using view helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
371
371
 
372
372
    def make_inv_delta(self, old, new):
373
373
        """Make an inventory delta from two inventories."""
374
 
        old_ids = set(old._byid.iterkeys())
375
 
        new_ids = set(new._byid.iterkeys())
 
374
        old_ids = set(old._byid)
 
375
        new_ids = set(new._byid)
376
376
        adds = new_ids - old_ids
377
377
        deletes = old_ids - new_ids
378
378
        common = old_ids.intersection(new_ids)