From 220d434b884a44777c69a7e5b4e265adbaadc65c Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Sat, 3 Feb 2018 19:56:00 +0100 Subject: [PATCH] `write_text` method exists only on python 3.5. And travis is using python 3.4 :/ --- travis/compile_all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/compile_all.py b/travis/compile_all.py index dabfed4..f72c357 100755 --- a/travis/compile_all.py +++ b/travis/compile_all.py @@ -31,7 +31,8 @@ VERSIONS = { def write_manifest(manifest_file, archive_name, target, platform): - manifest_file.write_text('''{archive_name} + with manifest_file.open(mode='w') as f: + f.write('''{archive_name} *************************** Dependencies archive for {target} on platform {platform}