def git_check_minimum_version(conf, minimum): """ Checks the minimum version of git :param ctx: Waf context :param args: The required minimum version as a tuple """ version = conf.git_version() if version[:3] < minimum: conf.fatal("Git version not supported: {0}, " "required minimum version: {1}".format(version, minimum))
def git_check_minimum_version(conf,minimum): version=conf.git_version() if version[:3]<minimum: conf.fatal("Git version not supported: {0}, ""required minimum version: {1}".format(version,minimum))