Explorar el Código

forcing unicode string even for python 2.7

Holger Jeromin hace 9 años
padre
commit
c12ed04343
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/amalgamate.py

+ 1 - 1
tools/amalgamate.py

@@ -37,7 +37,7 @@ for fname in args.inputs:
         print ("done."),
 
 file = io.open(args.outfile, 'w')
-file.write('''/* THIS IS A SINGLE-FILE DISTRIBUTION CONCATENATED FROM THE OPEN62541 SOURCES 
+file.write(u'''/* THIS IS A SINGLE-FILE DISTRIBUTION CONCATENATED FROM THE OPEN62541 SOURCES 
  * visit http://open62541.org/ for information about this software
  * Git-Revision: %s
  */