def print_validation(self): """Print validation message for project""" if not self.is_valid(): self._print_status() print_validation(self.full_path())
def _validate(self): """Validate status of clowder repo""" if not validate_repo_state(self.clowder_path): print_validation(self.clowder_path) print('') sys.exit(1)