+class MyConfigParser(configparser.ConfigParser):
+ def __init__(self):
+ configparser.ConfigParser.__init__(self)
+
+ for section, content in default_properties.items():
+ if not self.has_section(section):
+ self.add_section(section)
+ for k,v in content.items():
+ self.set(section, k, str(v))
+