[diffoscope] 01/02: diffoscope.main: Print a debugging message if we are reading diff from stdin.

Chris Lamb chris at chris-lamb.co.uk
Wed Sep 20 17:34:18 CEST 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 509509e302873508f44167c246d2bbb6a6fa7f1b
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Sep 16 21:42:53 2017 +0100

    diffoscope.main: Print a debugging message if we are reading diff from stdin.
---
 diffoscope/main.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/diffoscope/main.py b/diffoscope/main.py
index 73287b8..95ce49e 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -364,6 +364,7 @@ def run_diffoscope(parsed_args):
     set_locale()
     path1, path2 = parsed_args.path1, parsed_args.path2
     if path2 is None:
+        logger.debug("Loading diff from stdin")
         if path1 is None or path1 == '-':
             difference = load_diff(sys.stdin, "stdin")
         else:

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


More information about the diffoscope mailing list