summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-10-30 02:09:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-10-30 02:09:15 +0000
commit94438d15dae0769b5c169da5f726764a4929d418 (patch)
treee37c25fa1e47dc9f07a576f73478717c947f33ce /src/lib/Client
parent21d49b2defd15779a9afe31bbfe17c7486677f9d (diff)
downloadbcfg2-94438d15dae0769b5c169da5f726764a4929d418.tar.gz
bcfg2-94438d15dae0769b5c169da5f726764a4929d418.tar.bz2
bcfg2-94438d15dae0769b5c169da5f726764a4929d418.zip
POSIX: File file comparison in cases where unicode mismatches occur (Resolves Ticket #772) (Patch from Nicolas Dandrimont)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5514 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/POSIX.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
index 73fc64af1..ee780ec47 100644
--- a/src/lib/Client/Tools/POSIX.py
+++ b/src/lib/Client/Tools/POSIX.py
@@ -521,7 +521,6 @@ class POSIX(Bcfg2.Client.Tools.Tool):
except UnicodeEncodeError, e:
self.logger.error("Error encoding file %s:\n %s" % \
(entry.get('name'), e))
- return False
try:
content = open(entry.get('name')).read()
except IOError, error: