Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jan 30, 2018
1 parent 9c7dd99 commit 1c9b01c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bincopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,7 @@ def chunks(self, size=32, alignment=1):
size,
alignment))

for segment in self._list:
data = segment.data
address = segment.minimum_address

for address, data in self:
# First chunk may be shorter than `size` due to alignment.
chunk_offset = (address % alignment)

Expand Down

0 comments on commit 1c9b01c

Please sign in to comment.