aboutsummaryrefslogtreecommitdiff
path: root/devel/nmbug
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2015-10-03 10:57:56 +0300
committerDavid Bremner <david@tethera.net>2015-10-04 07:22:03 -0300
commit018e69f558c4ad36cefce42a11c2cdfe7270cb04 (patch)
treeb89182ace8c9a0b6cbcaff0460b012975d7bba4e /devel/nmbug
parent7b7dadb93f73840fc4eb3f93cb01901c41e97360 (diff)
nmbug-status: print config errors to stderr
Particularly scripted usage with stdout redirection can be confusing if errors are printed to stdout instead of stderr.
Diffstat (limited to 'devel/nmbug')
-rwxr-xr-xdevel/nmbug/nmbug-status2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
index a289798e..b36b6ad3 100755
--- a/devel/nmbug/nmbug-status
+++ b/devel/nmbug/nmbug-status
@@ -318,7 +318,7 @@ args = parser.parse_args()
try:
config = read_config(path=args.config)
except ConfigError as e:
- print(e)
+ print(e, file=sys.stderr)
sys.exit(1)
header_template = config['meta'].get('header', '''<!DOCTYPE html>