def delete(self, *args):
        self.preflight()
        self.set_header('Content-Type', 'application/json')
        m = self.settings.get('manager')
        sessionid = args[0]
        name = args[1]

        if not self.api_key.can_manage((sessionid, name) % "%s.%s"):
            raise HTTPError(403)

        try:
            m.unload(name, sessionid)
        except ProcessError:
            self.set_status(404)
            return self.write({"error": "not_found"})

        self.write({"ok": True})
dataset/ETHPy150Open benoitc/gaffer/gaffer/gafferd/http_handlers/jobs.py/JobHandler.delete/swapped operands of `%`