Bulk spelling improvement to modules-core (#5225)

* Correct spelling mistakes

* Correct more spelling issues

* merge conflict

* Revert typo in parms
This commit is contained in:
John R Barker 2016-10-13 15:47:50 +01:00 committed by Matt Clay
commit 25b6492d37
91 changed files with 908 additions and 148 deletions

View file

@ -1527,7 +1527,7 @@ class DarwinUser(User):
def _change_user_password(self):
'''Change password for SELF.NAME against SELF.PASSWORD.
Please note that password must be cleatext.
Please note that password must be cleartext.
'''
# some documentation on how is stored passwords on OSX:
# http://blog.lostpassword.com/2012/07/cracking-mac-os-x-lion-accounts-passwords/
@ -1559,7 +1559,7 @@ class DarwinUser(User):
def __modify_group(self, group, action):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
if action == 'add':
option = '-a'
else:
@ -1573,7 +1573,7 @@ class DarwinUser(User):
def _modify_group(self):
'''Add or remove SELF.NAME to or from GROUP depending on ACTION.
ACTION can be 'add' or 'remove' otherwhise 'remove' is assumed. '''
ACTION can be 'add' or 'remove' otherwise 'remove' is assumed. '''
rc = 0
out = ''