Skip to content

Commit

Permalink
patchfile.py: Fix incorrect function signature (fixes SuperSU patching)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao-Long Chen committed Aug 11, 2014
1 parent ace2438 commit 7a25ddd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/multiboot/autopatchers/patchfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def __init__(self, **kwargs):
self.patchfile = kwargs['patchfile']
self.files_list = patch.files_in_patch(self.patchfile)

def patch(self, directory, bootimg=None, device_check=True,
partition_config=None, device=None):
def patch(self, directory, file_info, bootimages=None):
ret = patch.apply_patch(self.patchfile, directory)

if not ret:
Expand Down

0 comments on commit 7a25ddd

Please sign in to comment.