From ec887c11e8494517e33993597584cc4d00ca91c6 Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Thu, 24 Aug 2017 17:56:53 +0300 Subject: [PATCH] Fix linesep between gitignored entries --- hooks/post_gen_project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 678848e92..39c82fccc 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -211,6 +211,7 @@ def append_to_gitignore(path): gitignore_file_path = os.path.join(PROJECT_DIRECTORY, '.gitignore') with open(gitignore_file_path, 'a') as gitignore_file: gitignore_file.write(path) + gitignore_file.write(os.linesep) # IN PROGRESS # def copy_doc_files(project_directory):