def __init__(self,cfgtxt): config = ConfigObj(cfgtxt) self.cfgtxt=cfgtxt config = ConfigParser.SafeConfigParser() config.read(self.cfgtxt) self.config=config self.tc={}