Learning is the difference
def export(self): """Export package meta information""" git = Git(self, self.recipe_folder) if git.is_dirty(): self.output.error( "The Repo is modified locally, please check the details below:" ) self.output.error(git.run("status")) scm_url, scm_commit = self.get_url_and_commit_allow_dirty(git) update_conandata(self, {"sources": {"commit": scm_commit, "url": scm_url}})