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:
7ec61cc
)
do actually process server-specific [<server> LIMIT] sections
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:20:51 +0000
(13:20 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 24 Apr 2017 12:20:51 +0000
(13:20 +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 8e00c157bb51143c0079cbbf9ca155980ec3f737..aa5b06c49385c0b7268a8fc16c60c74555254676 100644
(file)
--- a/
hippotatlib/__init__.py
+++ b/
hippotatlib/__init__.py
@@
-386,7
+386,8
@@
def _cfg_process_putatives():
server_pat = r'[-.0-9A-Za-z]+'
client_pat = r'[.:0-9a-f]+'
server_re = regexp.compile(server_pat)
- serverclient_re = regexp.compile(server_pat + r' ' + client_pat)
+ serverclient_re = regexp.compile(
+ server_pat + r' ' + '(?:' + client_pat + '|LIMIT)')
for cs in cfg.sections():
if cs == 'LIMIT' or cs == 'COMMON':