diff --git a/tools/gather_stats.py b/tools/gather_stats.py
index e6f9d3185841beee44b040e6ad059bb7ef799523..ec29731062edc318b95e38a3079753415ed69c77 100755
--- a/tools/gather_stats.py
+++ b/tools/gather_stats.py
@@ -53,5 +53,5 @@ for log_file_path in sys.argv[1:]:
 				stats[step_name][attribute_name] = attribute_value
 
 if stats:
-	print json.dumps(stats)
+	print (json.dumps(stats))