# HG changeset patch # User Thinker K.F. Li # Date 1309243366 -28800 # Node ID fa44a8acba6af3336ab91d89d3bccd2c3ba034a2 # Parent ce1d5a058d5a3ffaef35711497166267285b2fe3 Remove redundants in children list of DEXFile diff -r ce1d5a058d5a -r fa44a8acba6a paraspace/dexfile.py --- 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 diff -r ce1d5a058d5a -r fa44a8acba6a paraspace/tests/dexfile_test.py --- 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