| Index: ppapi/generators/idl_outfile.py
|
| diff --git a/ppapi/generators/idl_outfile.py b/ppapi/generators/idl_outfile.py
|
| index 434cfa0990eabfa359b0c73902f062eb99f759ba..334c27ca55a3c645849dcf5e57477aca93e8bb60 100644
|
| --- a/ppapi/generators/idl_outfile.py
|
| +++ b/ppapi/generators/idl_outfile.py
|
| @@ -106,7 +106,7 @@ class IDLOutFile(object):
|
| os.makedirs(basepath)
|
|
|
| if not GetOption('test'):
|
| - outfile = open(filename, 'w')
|
| + outfile = open(filename, 'wb')
|
| outfile.write(outtext)
|
| InfoOut.Log('Output %s written.' % self.filename)
|
| return True
|
| @@ -173,4 +173,3 @@ if __name__ == '__main__':
|
| os.remove(filename)
|
| if not errors: InfoOut.Log('All tests pass.')
|
| sys.exit(errors)
|
| -
|
|
|