def _validate_groups(self): """Validate status of clowder repo""" clowder = ProjectRepo(self.clowder_path, self.remote, self.default_ref) if not clowder.validate_repo(): ProjectRepo.validation(self.clowder_path) print() sys.exit(1)
def print_validation(self): """Print validation message for project""" if not self.is_valid(): print(self.status()) ProjectRepo.validation(self.full_path())