Skip to content

Commit

Permalink
little optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
vm03 committed Aug 20, 2019
1 parent 0f9865c commit 7714a5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions payload_dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ def data_for_op(op,out_file,old_file):
tmp_buff.write(old_data)
tmp_buff.seek(0)
old_data = tmp_buff.read()
data = bsdiff4.patch(old_data, data)
tmp_buff.seek(0)
tmp_buff.write(data)
tmp_buff.write(bsdiff4.patch(old_data, data))
n = 0;
tmp_buff.seek(0)
for ext in op.dst_extents:
Expand Down

0 comments on commit 7714a5e

Please sign in to comment.