diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2008-11-26 00:21:40 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2008-11-26 00:21:40 +0000 |
commit | de73f711db795b8709b10cfb827f99001210c199 (patch) | |
tree | 2ccd3d8bc9834ee3a31ffd5d43a07e4e6aa4224e /src/lib/Client | |
parent | b3d34f20800ec4c4ac1d78d640044cfe5003937c (diff) | |
download | bcfg2-de73f711db795b8709b10cfb827f99001210c199.tar.gz bcfg2-de73f711db795b8709b10cfb827f99001210c199.tar.bz2 bcfg2-de73f711db795b8709b10cfb827f99001210c199.zip |
Spelling fixes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4987 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/POSIX.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index b2fe3f24b..6f3e4cb59 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -25,7 +25,7 @@ def calcPerms(initial, perms): log = logging.getLogger('posix') def normUid(entry): - '''This takes a user name or uid and returns the corrisponding uid or False''' + '''This takes a user name or uid and returns the corresponding uid or False''' try: try: return int(entry.get('owner')) @@ -36,14 +36,13 @@ def normUid(entry): return False def normGid(entry): - '''This takes a group name or gid and returns the corrisponding gid or False''' + '''This takes a group name or gid and returns the corresponding gid or False''' try: try: return int(entry.get('group')) except: return int(grp.getgrnam(entry.get('group'))[2]) except (OSError, KeyError): - log.error('GID normalization failed for %s' % (entry.get('name'))) return False |