From: Ian Jackson Date: Mon, 24 Apr 2017 12:23:18 +0000 (+0100) Subject: process putatives: Properly report regexp mismatch ignores X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/commitdiff_plain/343c8cf482d0a5a7fbd34be06d0d190e36c982e4 process putatives: Properly report regexp mismatch ignores Signed-off-by: Ian Jackson --- diff --git a/hippotatlib/__init__.py b/hippotatlib/__init__.py index b06d225..0f59f0d 100644 --- a/hippotatlib/__init__.py +++ b/hippotatlib/__init__.py @@ -426,7 +426,7 @@ def _cfg_process_putatives(): # plan D "[ ]" part 2 ci = ipaddr(pcs) except AddressValueError: - # plan F "[]" + # plan F branch 1 "[]" log_ignore('bad-addr') continue @@ -437,6 +437,9 @@ def _cfg_process_putatives(): putative(clients, ci, pcs) putative(servers, pss, pss) continue + else: + # plan F branch 2 "[]" + log_ignore('nomatch '+ repr(serverclient_re)) else: # no AddressValueError # plan B "[" part 2