def VerifyPreliminaryBinaries(cls): Tools.Info("Checking preliminary binaries ...") # If the required binaries don't exist, then exit for binary in var.prel_bin: if not os.path.isfile(Tools.GetProgramPath(binary)): Tools.BinaryDoesntExist(binary)
def VerifyBinariesExist(cls, vFiles): for file in vFiles: if not os.path.exists(file): Tools.BinaryDoesntExist(file)
def VerifyBinariesExist(cls, vFiles): """Checks to see that all the binaries in the array exist and errors if they don't.""" for file in vFiles: if not os.path.exists(file): Tools.BinaryDoesntExist(file)