def _on_permission_result(self, code, perms, results):
        """ Handles a permission request result by passing it to the
         handler with the given code.
         
        """
        #: Get the handler for this request
        handler = self._permission_requests.get(code, None)
        if handler is not None:
            del self._permission_requests[code]

            #: Invoke that handler with the permission request response
            handler(code, perms, results)
def _on_permission_result ( self , code , perms , results ) : handler = self . _permission_requests . get ( code , None ) if handler is not None : del self . _permission_requests [ code ] handler ( code , perms , results )
Handles a permission request result by passing it to the
         handler with the given code.