def __init__(self, parent): """ constructor """ Synthesis.__init__(self, parent) tool = self.synthesis_toolcommandname command = "-version" cont = [] cont = list(os.popen(tool + " " + command)) self.version = cont[0].split(" ")[1][1:] self.base_version = self.version.split(".")[0]
def __init__(self, parent): Synthesis.__init__(self, parent)