File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33import sys
44
55if (len (sys .argv ) != 4 ):
6- print 'Wrong usage:'
7- print ' do_if_modified <bin_file> <input_file> <output_file>'
6+ print ( 'Wrong usage:' )
7+ print ( ' do_if_modified <bin_file> <input_file> <output_file>' )
88 exit ()
99
1010action_process = os .path .abspath (sys .argv [1 ])
Original file line number Diff line number Diff line change 1111versionfile .write ("extern const char kVersionNumber[] = \" 1.3.3\" ;\n " )
1212versionfile .write ("extern const char kBuildTime[] = __TIME__;\n " )
1313versionfile .write ("extern const char kBuildDate[] = __DATE__;\n " )
14- versionfile .write ("extern const char kLastChanges[] = \" " + data .strip () + "\" ;\n " )
14+ versionfile .write ("extern const char kLastChanges[] = \" " + data .strip (). decode () + "\" ;\n " )
1515versionfile .write ("}" )
1616versionfile .close ()
1717
You can’t perform that action at this time.
0 commit comments