/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: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-06-05 21:50:19 UTC
  • mfrom: (6656.1.3 dict_viewing)
  • Revision ID: breezy.the.bot@gmail.com-20170605215019-uw7s07tx11p194kh
Apply 2to3 dict fixer and clean up with sixish view methods

Merged from https://code.launchpad.net/~gz/brz/dict_viewing/+merge/325108

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)