def METHOD_NAME(self):
    store, iter = self.view.get_selection().get_selected()
    module = store.get_value(iter, 0)
    priority = store.get_value(iter, 1)
    try:
        self.wait()
        status, output = getstatusoutput("semodule -X %s -r %s" % (priority, module))
        self.ready()
        if status != 0:
            self.error(output)
        else:
            store.remove(iter)
            self.view.get_selection().select_path((0,))
    except ValueError as e:
        self.error(e.args[0])