From 64615eabf2dee8033b0295057aaa08061e083614 Mon Sep 17 00:00:00 2001 From: Milind Shakya <43146933+milind-shakya-sp@users.noreply.github.com> Date: Mon, 9 Nov 2020 15:08:17 -0500 Subject: [PATCH] Update gitown.py --- gitown/gitown.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitown/gitown.py b/gitown/gitown.py index 7441ce8..f659ec3 100644 --- a/gitown/gitown.py +++ b/gitown/gitown.py @@ -62,7 +62,8 @@ def update_file(self, updated_data): csvfile.write("#\n") csvfile.write("# Order is important. The last matching pattern has the most precedence.\n") csvfile.write("\n") - + csvfile.write("# This file is also being managed automatically by the gitown tool.\n") + writer = csv.writer(csvfile, delimiter=' ', lineterminator='\n') for key, value in updated_data.items(): writer.writerow([key] + value)