mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove #
This commit is contained in:
parent
4f877c6b6f
commit
41c046308c
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ def present(name,
|
|||
|
||||
# the comma is used to separate field in GECOS, thus resulting into
|
||||
# salt adding the end of fullname each time this function is called
|
||||
for gecos_field in ['fullname', 'roomnumber', 'workphone']: #, 'homephone']:
|
||||
for gecos_field in ['fullname', 'roomnumber', 'workphone']:
|
||||
if isinstance(gecos_field, string_types) and ',' in gecos_field:
|
||||
ret['comment'] = "Unsupported char ',' in {0}".format(gecos_field)
|
||||
ret['result'] = False
|
||||
|
|
Loading…
Add table
Reference in a new issue