~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

Merge bzr.urllib.keepalive

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
 
247
247
    def get_tar_item(self, root, dp, now, tree):
248
248
        """Get a tarfile item and a file stream for its content."""
249
 
        item = tarfile.TarInfo(pathjoin(root, dp))
 
249
        item = tarfile.TarInfo(pathjoin(root, dp).encode('utf8'))
250
250
        # TODO: would be cool to actually set it to the timestamp of the
251
251
        # revision it was last changed
252
252
        item.mtime = now