Skip to content

Commit 2b75d68

Browse files
applier.py: remove os.path.exists
This was changed with the skip_hash check and appears to break the ability for the tool to run in full payload mode.
1 parent 2d70688 commit 2b75d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

update_payload/applier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def _ApplyToPartition(self, operations, part_name, base_name,
551551
# Apply operations.
552552
with open(new_part_file_name, new_part_file_mode) as new_part_file:
553553
old_part_file = (open(old_part_file_name, 'r+b')
554-
if os.path.exists(old_part_file_name) else None)
554+
if old_part_file_name else None)
555555
try:
556556
self._ApplyOperations(operations, base_name, old_part_file,
557557
new_part_file, new_part_info.size)

0 commit comments

Comments
 (0)