(self)
return version_or_commit
Does the repositoriy use releases or commits?
Does the repositoriy use releases or commits?
Does the repositoriy use releases or commits?
def display_version_or_commit(self):
        """Does the repositoriy use releases or commits?"""
        if self.versions.installed is not None:
            version_or_commit = "version"
        else:
            version_or_commit = "commit"
        return version_or_commit
def display_version_or_commit ( self ) : if self . versions . installed is not None : version_or_commit = "version" else : version_or_commit = "commit" return version_or_commit