mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
smb.conf(5): Consistent spelling of parameter names.
This includes spacing and casing.
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user