From 6086920332575cd7db1b38262a3b4ba8fbfae7ab Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Mon, 27 Jul 2020 15:13:32 -0700 Subject: [PATCH] update ParseError message --- jc/parsers/traceroute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/parsers/traceroute.py b/jc/parsers/traceroute.py index 9fd4646c..ed4c89c9 100644 --- a/jc/parsers/traceroute.py +++ b/jc/parsers/traceroute.py @@ -384,7 +384,7 @@ def parse(data, raw=False, quiet=False): # check if header row exists, otherwise raise exception if not data.splitlines()[0].startswith('traceroute to ') and not data.splitlines()[0].startswith('traceroute6 to '): - raise ParseError('Traceroute header line not found. Be sure to redirect STDERR to STDOUT on OSX/FreeBSD.') + raise ParseError('Traceroute header line not found. Be sure to redirect STDERR to STDOUT on some operating systems.') tr = loads(data) hops = tr.hops