aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool/test/gen_obj.py
diff options
context:
space:
mode:
Diffstat (limited to 'binary_search_tool/test/gen_obj.py')
-rwxr-xr-xbinary_search_tool/test/gen_obj.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/binary_search_tool/test/gen_obj.py b/binary_search_tool/test/gen_obj.py
index 265729d2..d17e93f5 100755
--- a/binary_search_tool/test/gen_obj.py
+++ b/binary_search_tool/test/gen_obj.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2
+#!/usr/bin/env python2
"""Script to generate a list of object files.
0 represents a good object file.
@@ -86,8 +86,8 @@ def Main(argv):
obj_num = len(obj_list)
bad_obj_num = obj_list.count('1')
- print('Generated {0} object files, with {1} bad ones.'.format(obj_num,
- bad_obj_num))
+ print('Generated {0} object files, with {1} bad ones.'.format(
+ obj_num, bad_obj_num))
return 0