[diffoscope] 02/05: Print "no package mapping" in --list-tools to stderr, not stdout.
Chris Lamb
chris at chris-lamb.co.uk
Sat Aug 13 21:02:23 CEST 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 4de69d8294ebede5991712a001b12f6855ca45f2
Author: Chris Lamb <lamby at debian.org>
Date: Sat Aug 13 19:59:20 2016 +0100
Print "no package mapping" in --list-tools to stderr, not stdout.
---
diffoscope/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/main.py b/diffoscope/main.py
index 4eb06b9..073aacb 100644
--- a/diffoscope/main.py
+++ b/diffoscope/main.py
@@ -139,7 +139,7 @@ class ListToolsAction(argparse.Action):
os_list = [os_override]
else:
print()
- print("No package mapping found for: {} (possible values: {})".format(os_override, ", ".join(sorted(OS_NAMES.keys()))))
+ print("No package mapping found for: {} (possible values: {})".format(os_override, ", ".join(sorted(OS_NAMES.keys()))), file=sys.stderr)
sys.exit(1)
else:
current_os = get_current_os()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list