From 343c8cf482d0a5a7fbd34be06d0d190e36c982e4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 24 Apr 2017 13:23:18 +0100 Subject: [PATCH] process putatives: Properly report regexp mismatch ignores Signed-off-by: Ian Jackson --- hippotatlib/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2