From 270abb742e99d84b3f11423f9fbce366103c1920 Mon Sep 17 00:00:00 2001 From: Antonio Feregrino Date: Tue, 14 Aug 2018 11:32:36 +0100 Subject: [PATCH] Fix for the new line issue There was no new line at the end of the "clean" files. --- jupygit/GitHandlers.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jupygit/GitHandlers.py b/jupygit/GitHandlers.py index 70c8ab4..98c6c2c 100644 --- a/jupygit/GitHandlers.py +++ b/jupygit/GitHandlers.py @@ -37,6 +37,7 @@ def post(self): with open(clean_path, "w") as w: json.dump(dirty, w, indent=1) + w.write("\n") # Fix for the new line issue self.set_status(200) diff --git a/setup.py b/setup.py index 6cb40f6..87786e5 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = fh.read() # Package version -VERSION = "0.2.0" +VERSION = "0.2.1" class VerifyVersionCommand(install): """Custom command to verify that the git tag matches our version"""