91
91
lib/canonical/launchpad/doc/canonical-config.txt
96
96
Configurations are meant to be immutable--applications should never
97
97
alter the config. Nor should tests. Older code and tests assumed
98
98
that because the keys looked like attributes of the config, they
99
99
could be set. This was *wrong*. The code was actually adding an
101
101
underlying config object. While the code intended to reset the key's
102
102
value to the original value, it would have to delete the new attribute
103
103
to really restore the config singleton.
106
106
pop() methods to add and remove configurations to the stack of
107
107
ConfigData. The configuration can be modified and safely restored.