Fix to override '=' string

This PS fix to override '=' string with --set option.

Change-Id: I5442a42a09d304345aa27eedac462845442eb5f3
This commit is contained in:
DaeSeong Kim 2018-08-21 21:40:34 -07:00
parent e4a270b06d
commit 8d8e300392
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ class Override(object):
if self.overrides:
for override in self.overrides:
new_value = override.split('=')[1]
doc_path = override.split('=')[0].split(":")
new_value = override.split('=', 1)[1]
doc_path = override.split('=', 1)[0].split(":")
data_path = doc_path.pop().split('.')
self.override_manifest_value(doc_path, data_path, new_value)