summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/post_process_props.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/post_process_props.py b/tools/post_process_props.py
index a971683..e43ca59 100755
--- 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):