Parcourir la source

forcing unicode string even for python 2.7

Holger Jeromin il y a 9 ans
Parent
commit
c12ed04343
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
  */