| Index: tools/grit/pak_util.py
|
| diff --git a/tools/grit/pak_util.py b/tools/grit/pak_util.py
|
| index dd98049b1521fa3c91d89d878fdbfd1e86fb849b..e98f9bd39005ec58200d0aa7c19a2a9d7025644b 100755
|
| --- a/tools/grit/pak_util.py
|
| +++ b/tools/grit/pak_util.py
|
| @@ -33,7 +33,6 @@
|
|
|
| def _PrintMain(args):
|
| pak = data_pack.ReadDataPack(args.pak_file)
|
| - id_map = {id(v): k for k, v in sorted(pak.resources.items(), reverse=True)}
|
| encoding = 'binary'
|
| if pak.encoding == 1:
|
| encoding = 'utf-8'
|
| @@ -58,13 +57,8 @@
|
| except UnicodeDecodeError:
|
| pass
|
| sha1 = hashlib.sha1(data).hexdigest()[:10]
|
| - canonical_id = id_map[id(data)]
|
| - if resource_id == canonical_id:
|
| - line = u'Entry(id={}, len={}, sha1={}): {}'.format(
|
| - resource_id, len(data), sha1, desc)
|
| - else:
|
| - line = u'Entry(id={}, alias_of={}): {}'.format(
|
| - resource_id, canonical_id, desc)
|
| + line = u'Entry(id={}, len={}, sha1={}): {}'.format(
|
| + resource_id, len(data), sha1, desc)
|
| print line.encode('utf-8')
|
|
|
|
|
|
|