changeset 66:fa44a8acba6a

Remove redundants in children list of DEXFile
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 28 Jun 2011 14:42:46 +0800
parents ce1d5a058d5a
children 9504ad530dbf
files paraspace/dexfile.py paraspace/tests/dexfile_test.py
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/paraspace/dexfile.py	Tue Jun 28 14:23:08 2011 +0800
+++ b/paraspace/dexfile.py	Tue Jun 28 14:42:46 2011 +0800
@@ -1633,7 +1633,7 @@
     def children(self):
         map_items = [self.block_defs[map_item.type]
                      for map_item in self.maps.items.items]
-        children = map_items + ['maps']
+        children = map_items
         return children
     pass
 
--- a/paraspace/tests/dexfile_test.py	Tue Jun 28 14:23:08 2011 +0800
+++ b/paraspace/tests/dexfile_test.py	Tue Jun 28 14:42:46 2011 +0800
@@ -354,7 +354,6 @@
 
     dex_raw = dex.to_str()
     file_raw = file(testdatapath, 'r').read()
-    print len(dex_raw), len(file_raw)
     assert dex_raw == file_raw
     pass