landscape client removes comments from config files when modifying them
Bug #1221659 reported by
Geoff Teale
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Low
|
Geoff Teale |
Bug Description
This occurs because ConfigParser ignores comments and we write a new file out from ConfigParser whenever we make modifications.
Related branches
lp://staging/~tealeg/landscape-client/use-configobj
- Chris Glass (community): Approve
- Free Ekanayaka (community): Approve
-
Diff: 351 lines (+110/-37)7 files modifieddebian/control (+1/-0)
landscape/broker/tests/test_server.py (+5/-1)
landscape/configuration.py (+11/-8)
landscape/deployment.py (+42/-16)
landscape/tests/test_configuration.py (+11/-4)
landscape/tests/test_deployment.py (+37/-0)
landscape/ui/model/configuration/tests/test_mechanism.py (+3/-8)
tags: | removed: kanban |
Changed in landscape-client: | |
milestone: | 13.09 → 13.09.1 |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.