chiark
/
gitweb
/
~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
process putatives: Properly report regexp mismatch ignores
[hippotat]
/
hippotatlib
/
__init__.py
diff --git
a/hippotatlib/__init__.py
b/hippotatlib/__init__.py
index b06d225a0021ee030751e742d14e50b9fc23cdd5..0f59f0dc625389e5b64171bde4b195fae0dcdd66 100644
(file)
--- a/
hippotatlib/__init__.py
+++ b/
hippotatlib/__init__.py
@@
-426,7
+426,7
@@
def _cfg_process_putatives():
# plan D "[<servername> <client>]" part 2
ci = ipaddr(pcs)
except AddressValueError:
# 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
log_ignore('bad-addr')
continue
@@
-437,6
+437,9
@@
def _cfg_process_putatives():
putative(clients, ci, pcs)
putative(servers, pss, pss)
continue
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
else: # no AddressValueError
# plan B "[<client>" part 2