~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Aaron Bentley
  • Date: 2006-06-23 18:58:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1810.
  • Revision ID: abentley@panoramicfeedback.com-20060623185828-e3722e7048bc33a4
Tweak rev_nos style

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
        return
209
209
 
210
210
    # convert the revision history to a dictionary:
211
 
    rev_nos = dict([(k, v) for v, k in cut_revs])
 
211
    rev_nos = dict((k, v) for v, k in cut_revs)
212
212
 
213
213
    # override the mainline to look like the revision history.
214
214
    mainline_revs = [revision_id for index, revision_id in cut_revs]