Accomodate to the import syntax in build.prop.
Bug: 14024566 Change-Id: I71692244fabcd4d12f65849ffa027295b3a2a79a (cherry picked from commit 092fea0d3e644573d7f0dbfe6692f42431f83c5c)
This commit is contained in:
@@ -179,8 +179,9 @@ def LoadBuildProp(read_helper):
|
||||
for line in data.split("\n"):
|
||||
line = line.strip()
|
||||
if not line or line.startswith("#"): continue
|
||||
name, value = line.split("=", 1)
|
||||
d[name] = value
|
||||
if "=" in line:
|
||||
name, value = line.split("=", 1)
|
||||
d[name] = value
|
||||
return d
|
||||
|
||||
def LoadRecoveryFSTab(read_helper, fstab_version):
|
||||
|
Reference in New Issue
Block a user