summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-09-26 12:40:00 -0700
committerJelmer Vernooij <jelmer@samba.org>2012-10-19 09:10:14 +0200
commitbe4dea45daca51a817a7c383a4092bf69650c6cd (patch)
treeed81ab02dc1507af717e575ae8a37fb6754ce42c /source4/scripting/python
parentd0e644e0c83636b4e4c6b52ce0f861ffe38cedeb (diff)
downloadsamba-be4dea45daca51a817a7c383a4092bf69650c6cd.tar.gz
samba-be4dea45daca51a817a7c383a4092bf69650c6cd.tar.bz2
samba-be4dea45daca51a817a7c383a4092bf69650c6cd.zip
samba.tests.docs: Support synonyms.
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/tests/docs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/docs.py b/source4/scripting/python/samba/tests/docs.py
index 3e508ebf66..9575555946 100644
--- a/source4/scripting/python/samba/tests/docs.py
+++ b/source4/scripting/python/samba/tests/docs.py
@@ -46,6 +46,10 @@ def get_documented_parameters(sourcedir):
if m:
name = m.group(1).replace(" ", "")
yield name
+ m = re.match('<synonym>(.*)</synonym>', l)
+ if m:
+ name = m.group(1).replace(" ", "")
+ yield name
def get_implementation_parameters(sourcedir):