summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/docs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/tests/docs.py b/source4/scripting/python/samba/tests/docs.py
index f3c9fdf34c..ec2ab37adc 100644
--- a/source4/scripting/python/samba/tests/docs.py
+++ b/source4/scripting/python/samba/tests/docs.py
@@ -44,11 +44,11 @@ def get_documented_parameters(sourcedir):
for l in out.splitlines():
m = re.match('<samba:parameter .*?name="([^"]*?)"', l)
if m:
- name = m.group(1).replace(" ", "")
+ name = m.group(1)
yield name
m = re.match('.*<synonym>(.*)</synonym>.*', l)
if m:
- name = m.group(1).replace(" ", "")
+ name = m.group(1)
yield name
@@ -73,7 +73,7 @@ def get_implementation_parameters(sourcedir):
continue
name = m.group(1)
- yield name.lower().replace(" ", "")
+ yield name
finally:
f.close()