changeset 86:793af8437efe

Warning for unknown map type
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 23 Jul 2011 11:19:43 +0800
parents 55ae976c3ff8
children cd1ee85853f4
files paraspace/dexfile.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/paraspace/dexfile.py	Thu Jul 21 12:24:12 2011 +0800
+++ b/paraspace/dexfile.py	Sat Jul 23 11:19:43 2011 +0800
@@ -1607,6 +1607,9 @@
 
     def _parse_block(self, block_map):
         if block_map.type not in self.block_defs:
+            import sys
+            print >> sys.stderr, \
+                'Warning: unknown map type 0x%x' % (block_map.type)
             return
 
         data = self.data