/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/git/fetch.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    NULL_REVISION,
52
52
    )
53
53
from ..bzr.inventorytree import InventoryRevisionTree
54
 
from ..sixish import text_type
55
54
from ..bzr.testament import (
56
55
    StrictTestament3,
57
56
    )
218
217
    :param lookup_object: Lookup a git object by its SHA1
219
218
    :return: Inventory delta, as list
220
219
    """
221
 
    if not isinstance(path, text_type):
 
220
    if not isinstance(path, str):
222
221
        raise TypeError(path)
223
222
    ret = []
224
223
    for name, mode, hexsha in base_tree.iteritems():