kvm/test: kvm0 -> KVM0
The kvm software release was recently modified to use slapos.cookbook:switch-softwaretype instead of the deprecated slapos.cookbook:softwaretype. The latter uses ConfigParser to generate buildout-switch_softwaretype.cfg from template-*.cfg. However, ConfigParser changes the section keys to lowercase, as shown in the following example: >>> from six.moves.configparser import ConfigParser >>> from io import StringIO >>> c = ConfigParser() >>> c.readfp(StringIO("[FOO]\nBAR = BAZ")) >>> s = StringIO() >>> c.write(s) >>> s.getvalue() '[FOO]\nbar = BAZ\n\n' This behavior is not present with slapos.cookbook:switch-softwaretype.
Showing
Please register or sign in to comment