Ticket #772 (closed defect: fixed)

Opened 4 weeks ago

Last modified 4 weeks ago

ConfigFile comparision not working for files containing non-ascii characters

Reported by: Nicolas Dandrimont <nicolas.dandrimont@…> Owned by: desai
Priority: major Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

The POSIX ConfigFile? comparision is broken when the local file contains non-ascii characters, even though the charset is configured correctly in the BCfg2 config file.

It seems that a "return False" has slept through when the local file is read as a unicode object.

Attached patch fixes the issue.

Attachments

bcfg2-non-ascii-comparision-failure.diff (0.5 KB) - added by Nicolas Dandrimont <nicolas.dandrimont@…> 4 weeks ago.

Change History

Changed 4 weeks ago by Nicolas Dandrimont <nicolas.dandrimont@…>

Changed 4 weeks ago by desai

  • status changed from new to closed
  • resolution set to fixed

Committed in r5514. Thanks for the patch.

Add/Change #772 (ConfigFile comparision not working for files containing non-ascii characters)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.