/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: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

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
    )
214
213
    :param lookup_object: Lookup a git object by its SHA1
215
214
    :return: Inventory delta, as list
216
215
    """
217
 
    if not isinstance(path, text_type):
 
216
    if not isinstance(path, str):
218
217
        raise TypeError(path)
219
218
    ret = []
220
219
    for name, mode, hexsha in base_tree.iteritems():