瀏覽代碼

forcing unicode string even for python 2.7

Holger Jeromin 9 年之前
父節點
當前提交
c12ed04343
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
  */