Merge pull request #115 from kiwix/write_text_using_py34

`write_text` method exists only on python 3.5.
This commit is contained in:
Matthieu Gautier 2018-02-03 21:12:56 +01:00 committed by GitHub
commit 2b40901294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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}