Modify ↓
Ticket #772 (closed defect: fixed)
ConfigFile comparision not working for files containing non-ascii characters
Reported by: | Nicolas Dandrimont <[email protected]…> | 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
Change History
Changed 13 years ago by Nicolas Dandrimont <[email protected]…>
- Attachment bcfg2-non-ascii-comparision-failure.diff added
Note: See
TracTickets for help on using
tickets.