Imported Upstream version 1.8.1
[platform/upstream/harfbuzz.git] / src / gen-def.py
index 1673537..9a997d6 100755 (executable)
@@ -1,13 +1,13 @@
 #!/usr/bin/env python
 
-from __future__ import print_function
+from __future__ import print_function, division, absolute_import
 
 import io, os, re, sys
 
 headers_content = []
 for h in os.environ["headers"].split (' '):
        if h.endswith (".h"):
-               with io.open(h, encoding='utf8') as f: headers_content.append (f.read ())
+               with io.open (h, encoding='utf-8') as f: headers_content.append (f.read ())
 
 result = """EXPORTS
 %s