equal
deleted
inserted
replaced
92 raise VMMConfigException(str(e), ERR.CONF_ERROR) |
92 raise VMMConfigException(str(e), ERR.CONF_ERROR) |
93 self.__cfgFile.close() |
93 self.__cfgFile.close() |
94 |
94 |
95 def check(self): |
95 def check(self): |
96 """Performs a configuration check. |
96 """Performs a configuration check. |
97 |
97 |
98 Raises a VMMConfigException if the check fails. |
98 Raises a VMMConfigException if the check fails. |
99 """ |
99 """ |
100 if not self.__chkSections(): |
100 if not self.__chkSections(): |
101 errmsg = StringIO() |
101 errmsg = StringIO() |
102 errmsg.write(_("Using configuration file: %s\n") %\ |
102 errmsg.write(_("Using configuration file: %s\n") %\ |