/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/transform.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-08-07 21:24:40 UTC
  • mfrom: (7058.4.30 python3-x)
  • Revision ID: breezy.the.bot@gmail.com-20180807212440-m7r0c45ihwr0kcre
Fix another round of tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-x/+merge/352226

Show diffs side-by-side

added added

removed removed

Lines of Context:
1003
1003
                   (from_name, to_name),
1004
1004
                   (from_kind, to_kind),
1005
1005
                   (from_executable, to_executable)))
1006
 
        return iter(sorted(results, key=lambda x:x[1]))
 
1006
 
 
1007
        def path_key(t):
 
1008
            paths = t[1]
 
1009
            return (paths[0] or '', paths[1] or '')
 
1010
        return iter(sorted(results, key=path_key))
1007
1011
 
1008
1012
    def get_preview_tree(self):
1009
1013
        """Return a tree representing the result of the transform.