Ticket #772: bcfg2-non-ascii-comparision-failure.diff

File bcfg2-non-ascii-comparision-failure.diff, 549 bytes (added by Nicolas Dandrimont <[email protected]…>, 13 years ago)
  • src/lib/Client/Tools/POSIX.py

    diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py
    index 73fc64a..ee780ec 100644
    a b class POSIX(Bcfg2.Client.Tools.Tool): 
    521521                except UnicodeEncodeError, e: 
    522522                    self.logger.error("Error encoding file %s:\n %s" % \ 
    523523                                      (entry.get('name'), e)) 
    524                 return False 
    525524        try: 
    526525            content = open(entry.get('name')).read() 
    527526        except IOError, error: