summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-02-13 17:51:03 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-02-13 17:51:03 +0000
commitb43c488c96124ad07d4200860948a943cbf500cb (patch)
treece6bed3aafb6b4ebb002ee55427a7c247c527821 /src/lib
parentffe2d427dbaade13e628c7199381c18d1036d3bd (diff)
downloadbcfg2-b43c488c96124ad07d4200860948a943cbf500cb.tar.gz
bcfg2-b43c488c96124ad07d4200860948a943cbf500cb.tar.bz2
bcfg2-b43c488c96124ad07d4200860948a943cbf500cb.zip
Fix error messages for posix perms/ownership (Resolves Ticket #397)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2808 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Client/Tools/POSIX.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index 399150030..1d482f162 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -113,15 +113,15 @@ class POSIX(Bcfg2.Client.Tools.Tool):
entry.set('current_group', group)
self.logger.debug("%s %s group wrong" % (entry.tag, entry.get('name')))
nqtext = entry.get('qtext', '') + '\n'
- nqtext += "%s group wrong. is %s should be %s" % \
+ nqtext += "%s group is %s should be %s" % \
(entry.get('name'), group, entry.get('group'))
entry.set('qtext', nqtext)
if perms != entry.get('perms'):
entry.set('current_perms', perms)
- self.logger.debug("%s %s permissions wrong: are %s should be %s" %
+ self.logger.debug("%s %s permissions are %s should be %s" %
(entry.tag, entry.get('name'), perms, entry.get('perms')))
nqtext = entry.get('qtext', '') + '\n'
- nqtext += "%s perms wrong. is %s should be %s" % \
+ nqtext += "%s perms are %s should be %s" % \
(entry.get('name'), perms, entry.get('perms'))
entry.set('qtext', nqtext)
if entry.tag != 'ConfigFile':