Show a patch.

GET /api/patches/10737/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 10737,
    "url": "https://patchwork.libcamera.org/api/patches/10737/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10737/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20201224122855.22200-2-laurent.pinchart@ideasonboard.com>",
    "date": "2020-12-24T12:28:48",
    "name": "[libcamera-devel,1/8] utils: checkstyle.py: Drop arguments to super() when possible",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1229f29def89fd74c8cfa6a693e5154b9ef6de53",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": {
        "id": 14,
        "url": "https://patchwork.libcamera.org/api/users/14/?format=api",
        "username": "pinchartl",
        "first_name": "Laurent",
        "last_name": "Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/patch/10737/mbox/",
    "series": [
        {
            "id": 1550,
            "url": "https://patchwork.libcamera.org/api/series/1550/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1550",
            "date": "2020-12-24T12:28:47",
            "name": "checkstyle.py: Ensure meson.build is updated when adding header",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1550/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10737/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10737/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 59ABFC0F1A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 24 Dec 2020 12:29:11 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6DA63619AF;\n\tThu, 24 Dec 2020 13:29:09 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6B23460528\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 24 Dec 2020 13:29:08 +0100 (CET)",
            "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id F15CFDFC\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 24 Dec 2020 13:29:07 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"wiG++nfE\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1608812948;\n\tbh=zHoIUWSLaD0q02RhJWnqD6Uw8yZ235rdSFwoTc1c/9c=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=wiG++nfEEoEshQNaWjjS6SJGstKvvWLPdmyTKDfamWPLlTr4kq+JJk/K3mwpvzAp0\n\t61sBdSC7fvCyL3ItHdyYqf9XOlEE//DEfXQOvSn7P+FV9LCmfx6ZBaMI3VY7H0deFi\n\tTgau4rLTUviy89VksLkdhFuXGL6K38RHVeR3vjyc=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 24 Dec 2020 14:28:48 +0200",
        "Message-Id": "<20201224122855.22200-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20201224122855.22200-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20201224122855.22200-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 1/8] utils: checkstyle.py: Drop arguments\n\tto super() when possible",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "The super() call is a shortcut syntax for super(__class__, <first arg>).\nDrom the arguments when they match the default.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/checkstyle.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/utils/checkstyle.py b/utils/checkstyle.py\nindex 7225cac47a4e..c04bf3850dcd 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -198,7 +198,7 @@ _style_checkers = []\n \n class StyleCheckerRegistry(type):\n     def __new__(cls, clsname, bases, attrs):\n-        newclass = super(StyleCheckerRegistry, cls).__new__(cls, clsname, bases, attrs)\n+        newclass = super().__new__(cls, clsname, bases, attrs)\n         if clsname != 'StyleChecker':\n             _style_checkers.append(newclass)\n         return newclass\n@@ -387,7 +387,7 @@ _formatters = []\n \n class FormatterRegistry(type):\n     def __new__(cls, clsname, bases, attrs):\n-        newclass = super(FormatterRegistry, cls).__new__(cls, clsname, bases, attrs)\n+        newclass = super().__new__(cls, clsname, bases, attrs)\n         if clsname != 'Formatter':\n             _formatters.append(newclass)\n         return newclass\n",
    "prefixes": [
        "libcamera-devel",
        "1/8"
    ]
}