/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-03-24 18:10:18 UTC
  • mfrom: (6855.2.7 python3-more)
  • Revision ID: breezy.the.bot@gmail.com-20180324181018-ojudr98vqll2oc7u
Some random Python3 fixes.

In particular:
 * Make format strings bytestrings
 * Allow a $PYTHON variable to be set when calling testr

This adds another ~400 tests to the "known passing" list.

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1946
1946
            path = self._tree_id_paths[parent_id]
1947
1947
        except KeyError:
1948
1948
            return
1949
 
        entry = self._tree.iter_entries_by_dir(
1950
 
                specific_files=[path]).next()[1]
 
1949
        entry = next(self._tree.iter_entries_by_dir(
 
1950
                specific_files=[path]))[1]
1951
1951
        children = getattr(entry, 'children', {})
1952
1952
        for child in children:
1953
1953
            childpath = joinpath(path, child)