OSDN Git Service

releasetools: Fix mismerge
authorChirayu Desai <chirayudesai1@gmail.com>
Thu, 25 Aug 2016 16:24:58 +0000 (21:54 +0530)
committerSteve Kondik <steve@cyngn.com>
Sun, 4 Sep 2016 04:47:36 +0000 (21:47 -0700)
Change-Id: I11a48fb637b8b155c02c65500773aceb5d4bb376

tools/releasetools/common.py

index a1ac10b..413166f 100755 (executable)
@@ -279,7 +279,7 @@ def LoadInfoDict(input_file, input_dir=None):
     d["fstab"] = None
   else:
     d["fstab"] = LoadRecoveryFSTab(read_helper, d["fstab_version"],
-                                   d.get("system_root_image", d["device_type"], False))
+                                   d.get("system_root_image", False), d["device_type"])
   d["build.prop"] = LoadBuildProp(read_helper)
   return d
 
@@ -302,7 +302,7 @@ def LoadDictionaryFromLines(lines):
       d[name] = value
   return d
 
-def LoadRecoveryFSTab(read_helper, fstab_version, type, system_root_image=False):
+def LoadRecoveryFSTab(read_helper, fstab_version, system_root_image=False, type):
   class Partition(object):
     def __init__(self, mount_point, fs_type, device, length, device2, context):
       self.mount_point = mount_point