OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0534c2
)
Accomodate to the import syntax in build.prop.
author
Ying Wang
<wangying@google.com>
Tue, 15 Apr 2014 18:36:46 +0000
(11:36 -0700)
committer
Ying Wang
<wangying@google.com>
Tue, 15 Apr 2014 19:37:13 +0000
(12:37 -0700)
Bug:
14024566
Change-Id: I70b8d3c8cfc968a7f039728375f3f7f341cdc11a
tools/post_process_props.py
patch
|
blob
|
history
diff --git
a/tools/post_process_props.py
b/tools/post_process_props.py
index
a971683
..
e43ca59
100755
(executable)
--- a/
tools/post_process_props.py
+++ b/
tools/post_process_props.py
@@
-85,8
+85,9
@@
class PropFile:
for line in self.lines:
if not line or line.startswith("#"):
continue
- key, value = line.split("=", 1)
- props[key] = value
+ if "=" in line:
+ key, value = line.split("=", 1)
+ props[key] = value
return props
def get(self, name):