If python is python3, then print is a function. Fix the code
to make it a function since python2 doesn't really care (in
this particular case where we just have a single argument).
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Rob Browning <rlb@defaultvalue.org>
- python -c 'import time; print time.time()'
+ python -c 'import time; print(time.time())'
-init: $(python -c "print $init_finish - $init_start")
-index: $(python -c "print $index_finish - $index_start")
-save: $(python -c "print $save_finish - $save_start")
-restore: $(python -c "print $restore_finish - $restore_start")
-all: $(python -c "print $all_finish - $all_start")
+init: $(python -c "print($init_finish - $init_start)")
+index: $(python -c "print($index_finish - $index_start)")
+save: $(python -c "print($save_finish - $save_start)")
+restore: $(python -c "print($restore_finish - $restore_start)")
+all: $(python -c "print($all_finish - $all_start)")