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

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 23:59:28 UTC
  • mfrom: (6973.6.4 python3-e)
  • Revision ID: jelmer@jelmer.uk-20180621235928-f7z0vf0lxc6ieo9e
Merge lp:~jelmer/brz/python3-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
from ...revision import (
56
56
    NULL_REVISION,
57
57
    )
 
58
from ...sixish import text_type
58
59
from ...bzr.inventorytree import InventoryRevisionTree
59
60
from ...testament import (
60
61
    StrictTestament3,
223
224
    :param lookup_object: Lookup a git object by its SHA1
224
225
    :return: Inventory delta, as list
225
226
    """
226
 
    if type(path) is not unicode:
 
227
    if not isinstance(path, text_type):
227
228
        raise TypeError(path)
228
229
    ret = []
229
230
    for name, mode, hexsha in base_tree.iteritems():