aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorDeb McLemore <debmc@linux.vnet.ibm.com>2016-07-21 14:41:00 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-22 17:10:10 +1000
commit6787f6a47392f44f8b214a542ce3e5c1c1f4ec17 (patch)
treec5e5cce2715c11bf8ab0e8b8be71e488faa5ac22 /external
parent37078693ae750777a85266500a64e71e3fa83f58 (diff)
downloadskiboot-6787f6a47392f44f8b214a542ce3e5c1c1f4ec17.zip
skiboot-6787f6a47392f44f8b214a542ce3e5c1c1f4ec17.tar.gz
skiboot-6787f6a47392f44f8b214a542ce3e5c1c1f4ec17.tar.bz2
fwts/generate-fwts-olog: Fix whitespace on json.dumps
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@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rwxr-xr-xexternal/fwts/generate-fwts-olog1
1 files changed, 1 insertions, 0 deletions
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():