summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-10-19 09:21:01 +0200
committerJelmer Vernooij <jelmer@samba.org>2012-10-19 09:21:01 +0200
commit364ed82d22bbcd69ae237098ba8d6946969bd390 (patch)
tree5f7535fc3a7fdba11d68f8db7e49460228e1cf2b
parent4b4e8e21235615af94788fa0ebfa0b0bc09f14fd (diff)
downloadsamba-364ed82d22bbcd69ae237098ba8d6946969bd390.tar.gz
samba-364ed82d22bbcd69ae237098ba8d6946969bd390.tar.bz2
samba-364ed82d22bbcd69ae237098ba8d6946969bd390.zip
samba.tests.docs: Ignore removed parameters.
-rw-r--r--source4/scripting/python/samba/tests/docs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/docs.py b/source4/scripting/python/samba/tests/docs.py
index 7105afd622..c1b371680d 100644
--- a/source4/scripting/python/samba/tests/docs.py
+++ b/source4/scripting/python/samba/tests/docs.py
@@ -60,6 +60,8 @@ def get_documented_parameters(sourcedir):
assert p.returncode == 0, "returncode was %r" % p.returncode
for l in out.splitlines():
m = re.match('<samba:parameter .*?name="([^"]*?)"', l)
+ if "removed=\"1\"" in l:
+ continue
if m:
name = m.group(1)
yield name