chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c38e6
)
process putatives: Properly report regexp mismatch ignores
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:23:18 +0000
(13:23 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:23:18 +0000
(13:23 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/__init__.py
patch
|
blob
|
history
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 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