Switch to Python3
[fio.git] / tools / fiologparser.py
index cc29f1c7bcbf5dea4bc73a0ce8ab7cb95a00c6ae..054f1f60784879023fcc31051379a892d8adbed1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.7
+#!/usr/bin/env python3
 # Note: this script is python2 and python 3 compatible.
 #
 # fiologparser.py
@@ -18,6 +18,7 @@ from __future__ import absolute_import
 from __future__ import print_function
 import argparse
 import math
+from functools import reduce
 
 def parse_args():
     parser = argparse.ArgumentParser()