enh: config should save only non-default settings

Bug #258068 reported by Selene ToyKeeper
2
Affects Status Importance Assigned to Milestone
TKDO
Fix Released
Medium
Selene ToyKeeper

Bug Description

The 'save config' function should only save settings which differ from the default. This keeps the config file smaller, and makes upgrading easier. The user can get changed settings automatically, instead of having to compare their config against the new defaults.

An option to save all settings (as it does now) would still probably be useful.

Changed in tkdo:
status: New → Confirmed
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Fixed in trunk r148.
Also made config output prettier, using pprint module.

Changed in tkdo:
assignee: nobody → toykeeper
importance: Undecided → Medium
status: Confirmed → Fix Committed
Changed in tkdo:
milestone: none → 0.7
Changed in tkdo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.