aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update_bugs_by_version.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_bugs_by_version.py')
-rwxr-xr-xscripts/update_bugs_by_version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_bugs_by_version.py b/scripts/update_bugs_by_version.py
index cbedf1a5..655ffe23 100755
--- a/scripts/update_bugs_by_version.py
+++ b/scripts/update_bugs_by_version.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# This script is used to generate the list of bugs per compiler version
# from the list of bugs.
@@ -35,7 +35,7 @@ for v in versions:
continue
versions[v]['bugs'] += [bug['name']]
-new_contents = json.dumps(versions, sort_keys=True, indent=4)
+new_contents = json.dumps(versions, sort_keys=True, indent=4, separators=(',', ': '))
with open(path + '/../docs/bugs_by_version.json', 'r') as bugs_by_version:
old_contents = bugs_by_version.read()
with open(path + '/../docs/bugs_by_version.json', 'w') as bugs_by_version: