summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/tests/docs.py2
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