Fix errors in Python 3 build

This commit is contained in:
Matthias Hoelzl 2017-09-14 14:34:53 +02:00
parent 62cb43bb8d
commit f3745a23be
2 changed files with 11 additions and 11 deletions

View file

@ -385,7 +385,7 @@ def make_license_header(target, source, env):
def _make_doc_data_class_path(to_path):
g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "wb")
g = open_utf8(os.path.join(to_path,"doc_data_class_path.gen.h"), "w")
g.write("static const int _doc_data_class_path_count="+str(len(env.doc_class_path))+";\n")
g.write("struct _DocDataClassPath { const char* name; const char* path; };\n")