[diffoscope] 01/01: - fix typo

Ximin Luo infinity0 at debian.org
Mon May 29 20:29:58 CEST 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch experimental
in repository diffoscope.

commit 829ed378ce2b256a64ebc52b94f7e73e2c72daa8
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon May 29 20:29:49 2017 +0200

    - fix typo
---
 diffoscope/presenters/json.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/presenters/json.py b/diffoscope/presenters/json.py
index bdedb5e..0612670 100644
--- a/diffoscope/presenters/json.py
+++ b/diffoscope/presenters/json.py
@@ -37,7 +37,7 @@ class JSONPresenter(Presenter):
     def start(self, difference):
         super().start(difference)
 
-        self.stack[0][JSON_FORMAT_MAGIC] = DIFFOSCOPE_JSON_FORMAT_VERSION
+        self.stack[0][JSON_FORMAT_MAGIC] = JSON_FORMAT_MAGIC
         self.stack[0].move_to_end(JSON_FORMAT_MAGIC, last=False)
         self.print_func(json.dumps(self.stack[0], indent=2))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list