chiark / gitweb /
process putatives: Properly report regexp mismatch ignores
[hippotat.git] / hippotatlib / __init__.py
index b06d225a0021ee030751e742d14e50b9fc23cdd5..0f59f0dc625389e5b64171bde4b195fae0dcdd66 100644 (file)
@@ -426,7 +426,7 @@ def _cfg_process_putatives():
           # plan D "[<servername> <client>]" part 2
           ci = ipaddr(pcs)
         except AddressValueError:
-          # plan F "[<some thing we do not understand>]"
+          # plan F branch 1 "[<some thing we do not understand>]"
           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 "[<some thing we do not understand>]"
+        log_ignore('nomatch '+ repr(serverclient_re))
 
     else: # no AddressValueError
       # plan B "[<client>" part 2