[PATCH phosphor-settingsd 2/2] settings_file.py: update with pprint'd output.

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Apr 2 09:00:54 AEDT 2016


From: Patrick Williams <patrick at stwcx.xyz>

Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
---
 settings_file.py | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/settings_file.py b/settings_file.py
index 698d941..fe852ba 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -1,2 +1,18 @@
 #!/usr/bin/python -u
-SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'restrictedmode': {'default': False, 'type': 'b', 'name': 'restricted_mode'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}}}
\ No newline at end of file
+SETTINGS=\
+{'host': {'bootflags': {'default': 'default',
+                        'name': 'boot_flags',
+                        'type': 's'},
+          'powercap': {'default': 0,
+                       'max': 1000,
+                       'min': 0,
+                       'name': 'power_cap',
+                       'type': 'i',
+                       'unit': 'watts'},
+          'powerpolicy': {'default': 'RESTORE_LAST_STATE',
+                          'name': 'power_policy',
+                          'type': 's'},
+          'restrictedmode': {'default': False,
+                             'name': 'restricted_mode',
+                             'type': 'b'},
+          'sysstate': {'default': '', 'name': 'system_state', 'type': 's'}}}
-- 
2.7.1




More information about the openbmc mailing list