def _get_entry(self, perm_name):
try:<EOL><INDENT>return self._registry[perm_name]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise NoSuchPermissionError(perm_name)<EOL><DEDENT>
Get registry entry for permission.