[Skiboot] [PATCH] fwts/generate-fwts-olog: Fix whitespace on json.dumps
Deb McLemore
debmc at linux.vnet.ibm.com
Fri Jul 22 05:41:00 AEST 2016
Using the indent option on json dump extra whitespace
preceeds the newline in the json separator formatting.
We need to remove the extra whitespace when the
indent option is used to allow clean patch application.
Signed-off-by: Deb McLemore <debmc at linux.vnet.ibm.com>
---
external/fwts/generate-fwts-olog | 1 +
1 file changed, 1 insertion(+)
diff --git a/external/fwts/generate-fwts-olog b/external/fwts/generate-fwts-olog
index f8cc078..904531a 100755
--- a/external/fwts/generate-fwts-olog
+++ b/external/fwts/generate-fwts-olog
@@ -27,6 +27,7 @@ from pyparsing import Regex, Literal, Word, Combine, OneOrMore, QuotedString, \
json_params = {
'indent': 1,
'sort_keys': True,
+ 'separators': (',', ': '),
}
def create_parser():
--
1.8.3.1
More information about the Skiboot
mailing list