Browse Source

Tools: remove trailing white spaces from output of generate_manifest

Explicitly set the seperators of the json.dumps call. Some versions of
the library in combination with set indent parameter create output that
contains quite a lot of trailing white spaces.
c415-sdk
Philipp Borgers 5 years ago committed by Peter Barker
parent
commit
5e09553449
  1. 2
      Tools/scripts/generate_manifest.py

2
Tools/scripts/generate_manifest.py

@ -478,7 +478,7 @@ class ManifestGenerator(): @@ -478,7 +478,7 @@ class ManifestGenerator():
file=sys.stderr)
structure = self.walk_directory(self.basedir)
return json.dumps(structure, indent=4)
return json.dumps(structure, indent=4, separators=(',', ': '))
def usage():

Loading…
Cancel
Save