Changeset a7a7f8c in mainline for tools/imgutil.py
- Timestamp:
- 2012-04-20T07:32:57Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 097f421
- Parents:
- 90f067d9 (diff), 606c369 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/imgutil.py
r90f067d9 ra7a7f8c 92 92 if name in exclude_names: 93 93 continue 94 94 95 item = ItemToPack(path, name) 96 95 97 if not (item.is_dir or item.is_file): 96 98 continue 99 97 100 yield item 98 101 … … 102 105 inf = open(item.path, 'rb') 103 106 rd = 0 107 104 108 while (rd < item.size): 105 109 data = bytes(inf.read(chunk_size)) 106 110 yield data 107 111 rd += len(data) 112 108 113 inf.close()
Note:
See TracChangeset
for help on using the changeset viewer.