/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 inventory.py

Handle non-ascii characters in filenames.

Show diffs side-by-side

added added

removed removed

Lines of Context:
318
318
        else:
319
319
            self._read_contents()
320
320
            file_id = super(GitIndexInventory, self).path2id(path)
321
 
        if file_id is not None and type(file_id) is not str:
 
321
        if type(file_id) is not str:
322
322
            raise AssertionError
323
323
        return file_id
324
324