def _migrate_config(self, oldname=DEFAULT_CONFIG, newname=DEFAULT_CONFIG):
self._log("<STR_LIT>"<EOL>"<STR_LIT>", logging.WARNING)<EOL>with open(oldname, "<STR_LIT:r>") as old:<EOL><INDENT>with open(newname, "<STR_LIT:w>") as new:<EOL><INDENT>new.write("<STR_LIT>")<EOL>new.write(old.read())<EOL><DEDENT><DEDENT>
Migrates the old config file format to the new one