1843
1843
executable = False
1844
1844
elif kind == 'symlink':
1845
fingerprint = inv_entry.symlink_target
1846
if fingerprint is None:
1849
assert isinstance(fingerprint, unicode)
1850
# Do we need a 'isinstance(fingerprint, unicode)' check here?
1851
fingerprint = fingerprint.encode('UTF-8')
1845
# We don't support non-ascii targets for symlinks yet.
1846
fingerprint = str(inv_entry.symlink_target or '')
1853
1848
executable = False
1854
1849
elif kind == 'file':