/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/plugins/launchpad/lp_api_lite.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:
194
194
    # Note: this assumes that a given rev won't get tagged multiple times. But
195
195
    #       it should be valid for the package importer branches that we care
196
196
    #       about
197
 
    reverse_dict = dict((rev, tag) for tag, rev in tag_dict.iteritems())
 
197
    reverse_dict = dict((rev, tag) for tag, rev in tag_dict.items())
198
198
    the_branch.lock_read()
199
199
    try:
200
200
        last_rev = the_branch.last_revision()