diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-10-24 09:43:26 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-10-24 16:02:03 -0400 |
commit | 363bcfb2330ad965dc70c0983049f621ae3b0e14 (patch) | |
tree | 68f6c5c33a60f0742c716e0525ee823466436988 /scripts/logextract.py | |
parent | b6bf4551551e5a20cf420a1d3c5049d601d941c3 (diff) | |
download | kutter-363bcfb2330ad965dc70c0983049f621ae3b0e14.tar.gz kutter-363bcfb2330ad965dc70c0983049f621ae3b0e14.tar.xz kutter-363bcfb2330ad965dc70c0983049f621ae3b0e14.zip |
logextract: Make sure config files end with a newline
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/logextract.py')
-rwxr-xr-x | scripts/logextract.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/logextract.py b/scripts/logextract.py index 5ac52915..1151e05f 100755 --- a/scripts/logextract.py +++ b/scripts/logextract.py @@ -41,7 +41,7 @@ class GatherConfig: self.comments.append(comment) def write_file(self): f = open(self.filename, 'wb') - f.write('\n'.join(self.comments + self.config_lines)) + f.write('\n'.join(self.comments + self.config_lines).strip() + '\n') f.close() |