def get(self, key, dotry=False): if key in self.conf_data: return self.conf_data[key] else: if not dotry: common.printout("WARNING","%s not defined in all.conf" % key) sys.exit() else: return ""
def get(self, key, dotry=False): if key in self.conf_data: return self.conf_data[key] else: if not dotry: common.printout("WARNING", "%s not defined in all.conf" % key) sys.exit() else: return ""