(self)
return description[self.display_status]
Return display_status_description.
Return display_status_description.
Return display_status_description .
def display_status_description(self):
        """Return display_status_description."""
        description = {
            "default": "Not installed.",
            "pending-restart": "Restart pending.",
            "pending-upgrade": "Upgrade pending.",
            "installed": "No action required.",
            "new": "This is a newly added repository.",
        }
        return description[self.display_status]
def display_status_description ( self ) : description = { "default" : "Not installed." , "pending-restart" : "Restart pending." , "pending-upgrade" : "Upgrade pending." , "installed" : "No action required." , "new" : "This is a newly added repository." , } return description [ self . display_status ]