Now printing less output from compare_videos.py.

Alternative solution to the one in
https://codereview.chromium.org/114003006/.

I considered adding a verbose flag, but it needs to be passed through
like 5 functions, so I didn't think it was worth it for a function of
such speculative use.

BUG=chromium:327990
R=kjellander@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/6679004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5347 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org
2014-01-07 17:59:30 +00:00
parent 60730cfe3c
commit cf9d364063

View File

@ -103,7 +103,6 @@ def _decode_barcode_in_file(file_name, command_line_decoder):
try: try:
out = helper_functions.run_shell_command( out = helper_functions.run_shell_command(
command, fail_msg='Error during decoding of %s' % file_name) command, fail_msg='Error during decoding of %s' % file_name)
print 'Image %s : decoded barcode: %s' % (file_name, out)
text_file = open('%s.txt' % file_name[:-4], 'w') text_file = open('%s.txt' % file_name[:-4], 'w')
text_file.write(out) text_file.write(out)
text_file.close() text_file.close()