Merge pull request #936 from Gregory-Howard/package

correction of package.py (encoding on open instead of write)
This commit is contained in:
Ines Montani 2017-03-29 09:40:10 +02:00 committed by GitHub
commit 21dfe9edbe
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def create_dirs(package_path, force):
def create_file(file_path, contents):
file_path.touch()
file_path.open('w').write(contents, encoding='utf-8')
file_path.open('w', encoding='utf-8').write(contents)
def generate_meta():