summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-09-26 13:20:42 -0700
committerJelmer Vernooij <jelmer@samba.org>2012-10-19 09:10:14 +0200
commit2a31f0b50976dc5b6770639b60184a8ef9158b8b (patch)
tree1eb22b912a1bedb109e5f3d42701408f40612e85 /source4/scripting/python
parent32fad2b910a9e4f9b753b43cb818c72829236a88 (diff)
downloadsamba-2a31f0b50976dc5b6770639b60184a8ef9158b8b.tar.gz
samba-2a31f0b50976dc5b6770639b60184a8ef9158b8b.tar.bz2
samba-2a31f0b50976dc5b6770639b60184a8ef9158b8b.zip
smb.conf(5): Consistent spelling of parameter names.
This includes spacing and casing.
Diffstat (limited to 'source4/scripting/python')
-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()