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.
This commit is contained in:
Philipp Borgers 2020-04-09 11:54:00 +02:00 committed by Peter Barker
parent a1dcb8e3c1
commit 5e09553449

View File

@ -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():