Sfoglia il codice sorgente

forcing unicode string even for python 2.7

Holger Jeromin 9 anni fa
parent
commit
c12ed04343
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
  */