kivy/kivy — pull request #2288 by kived (2014-06-23 22:36:00+00:00)
Title: add upgrade method to ConfigParser

Adds a simple upgrade method to ConfigParser. Reads new default config file and adds any missing settings. Using this function prevents crashes when adding a panel to a `Settings` instance where a new key has been added and that key is not present in the user's existing config file.

Can work around #2287 in some cases.