Index: grit/format/data_pack.py |
=================================================================== |
--- grit/format/data_pack.py (revision 160) |
+++ grit/format/data_pack.py (working copy) |
@@ -137,7 +137,7 @@ |
Args: |
inputs: a list of data pack strings that need to be combined. |
- whitelist: a list of resource IDs that should be kep in the output string |
+ whitelist: a list of resource IDs that should be kept in the output string |
or None to include all resources. |
Returns: |
@@ -168,6 +168,10 @@ |
for key in content.resources.keys() |
if key in whitelist]) |
resources.update(whitelisted_resources) |
+ removed_keys = [key for key in content.resources.keys() |
+ if key not in whitelist] |
+ for key in removed_keys: |
+ print 'RePackFromDataPackStrings Removed Key:', key |
else: |
resources.update(content.resources) |