[node-patches] Change in ovirt-node[master]: config: Quote all defaults values
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Feb 6 17:15:46 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: config: Quote all defaults values
......................................................................
config: Quote all defaults values
Previously the config.defaults module did not quote values which were
written to /etc/default/ovirt, this is now fixed.
Change-Id: I122f56d80946f4ea90fe1ad6dce9074daf291aa6
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/config/defaults.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/19/11819/1
diff --git a/scripts/tui/src/ovirt/node/config/defaults.py b/scripts/tui/src/ovirt/node/config/defaults.py
index 2bcddb3..26f1b2d 100644
--- a/scripts/tui/src/ovirt/node/config/defaults.py
+++ b/scripts/tui/src/ovirt/node/config/defaults.py
@@ -108,7 +108,7 @@
lines = []
# Sort the dict, looks nicer
for key in sorted(cfg.iterkeys()):
- lines.append("%s=%s" % (key, cfg[key]))
+ lines.append("%s=\"%s\"" % (key, cfg[key]))
contents = "\n".join(lines) + "\n"
# The following logic is mainly needed to allow an "offline" testing
--
To view, visit http://gerrit.ovirt.org/11819
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I122f56d80946f4ea90fe1ad6dce9074daf291aa6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list