diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-09-26 13:09:01 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-10-19 09:10:14 +0200 |
commit | 32fad2b910a9e4f9b753b43cb818c72829236a88 (patch) | |
tree | c9a62c7ca32afbad90a20a137b3bb720ca96dd27 /source4 | |
parent | be4dea45daca51a817a7c383a4092bf69650c6cd (diff) | |
download | samba-32fad2b910a9e4f9b753b43cb818c72829236a88.tar.gz samba-32fad2b910a9e4f9b753b43cb818c72829236a88.tar.bz2 samba-32fad2b910a9e4f9b753b43cb818c72829236a88.zip |
samba.tests.docs: Support spaces before synonyms.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/tests/docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/docs.py b/source4/scripting/python/samba/tests/docs.py index 9575555946..f3c9fdf34c 100644 --- a/source4/scripting/python/samba/tests/docs.py +++ b/source4/scripting/python/samba/tests/docs.py @@ -46,7 +46,7 @@ def get_documented_parameters(sourcedir): if m: name = m.group(1).replace(" ", "") yield name - m = re.match('<synonym>(.*)</synonym>', l) + m = re.match('.*<synonym>(.*)</synonym>.*', l) if m: name = m.group(1).replace(" ", "") yield name |