Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110805/?format=api
https://patches.dpdk.org/api/patches/110805/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20220507085530.666-1-junx.dong@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20220507085530.666-1-junx.dong@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20220507085530.666-1-junx.dong@intel.com", "date": "2022-05-07T08:55:30", "name": "[V1] framework/debugger: modify the enbeded python script syntax issue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9efc65cf5507eb1785bb0bcf1e7c757ac0e3cbd0", "submitter": { "id": 2237, "url": "https://patches.dpdk.org/api/people/2237/?format=api", "name": "Jun Dong", "email": "junx.dong@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20220507085530.666-1-junx.dong@intel.com/mbox/", "series": [ { "id": 22823, "url": "https://patches.dpdk.org/api/series/22823/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=22823", "date": "2022-05-07T08:55:30", "name": "[V1] framework/debugger: modify the enbeded python script syntax issue", "version": 1, "mbox": "https://patches.dpdk.org/series/22823/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/110805/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/110805/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 461A4A050A;\n\tSat, 7 May 2022 10:55:45 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 49E184068A;\n\tSat, 7 May 2022 10:55:44 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 9A08A40395\n for <dts@dpdk.org>; Sat, 7 May 2022 10:55:42 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 01:55:40 -0700", "from shwdenpg197.ccr.corp.intel.com ([10.253.109.70])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2022 01:55:38 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1651913742; x=1683449742;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=RFeMuMnfWSfeTojp+IDyLcqg40cdlujPlX9NToEW7FI=;\n b=Fx3e5QIJNNmUBM67PyHmPLp2Hv5sQ93SV5GjKndUwi1M2+c1p8/EpnqO\n fujoU6Ivlk9DK4VI+4HOW9rLwPPM8XJOMZG1J6gihSX/J/gnLYK2qhYK6\n m8W9wqzv0lP8rfX/diHZYnncdq7D9/ndd19uf7jdzn6l2V0yP8DVdYPN8\n SqVvJkRUhbSu1+n7Ea4b9YzG5NbkmFB536irdyJTRoN2koUBLHT2kz4td\n itzivEUrXDEGTr25Qi7NFJ/UhGWZNn7yQ77BTb9Q1Kzyo61vsXvDFKOpK\n atRpbksqpMVDl+XhZBw4MRTEKsve0HhqkBoJK+atMot/eo7Q5N44AenPr g==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10339\"; a=\"248586868\"", "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"248586868\"", "E=Sophos;i=\"5.91,206,1647327600\"; d=\"scan'208\";a=\"655055376\"" ], "From": "Jun Dong <junx.dong@intel.com>", "To": "dts@dpdk.org", "Cc": "lijuan.tu@intel.com,\n\tqingx.sun@intel.com,\n\tjunx.dong@intel.com", "Subject": "[dts] [V1] framework/debugger: modify the enbeded python script\n syntax issue", "Date": "Sat, 7 May 2022 16:55:30 +0800", "Message-Id": "<20220507085530.666-1-junx.dong@intel.com>", "X-Mailer": "git-send-email 2.33.1.windows.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "Some enbeded python script in debugger module used \npython v2 syntax style,need update to v3 syntax style.\n\nSigned-off-by: Jun Dong <junx.dong@intel.com>\n---\n framework/debugger.py | 24 ++++++++++++------------\n 1 file changed, 12 insertions(+), 12 deletions(-)", "diff": "diff --git a/framework/debugger.py b/framework/debugger.py\nindex bca4f805..2f6e121f 100644\n--- a/framework/debugger.py\n+++ b/framework/debugger.py\n@@ -40,17 +40,17 @@ AliveCase = None # global case name for run command\n \n \n def help_command():\n- console.push(\"print 'Help on debug module'\")\n- console.push(\"print 'DESCRIPTION'\")\n- console.push(\"print 'DTS debug module support few debug commands'\")\n- console.push(\"print ' - help(): help messages'\")\n- console.push(\"print ' - list(): list all connections'\")\n- console.push(\"print ' - connect(): bind to specified connection'\")\n- console.push(\"print ' - : connect(\\\"dut\\\")'\")\n- console.push(\"print ' - quit(): quit debug module'\")\n- console.push(\"print ' - exit(): exit processing procedure'\")\n- console.push(\"print ' - debug(): call python debug module for further debug'\")\n- console.push(\"print ' - rerun(): re-run the interrupted test case'\")\n+ console.push(\"print('Help on debug module')\")\n+ console.push(\"print('DESCRIPTION')\")\n+ console.push(\"print('DTS debug module support few debug commands')\")\n+ console.push(\"print(' - help(): help messages')\")\n+ console.push(\"print(' - list(): list all connections')\")\n+ console.push(\"print(' - connect(): bind to specified connection')\")\n+ console.push(\"print(' - : connect(\\\"dut\\\")')\")\n+ console.push(\"print(' - quit(): quit debug module')\")\n+ console.push(\"print(' - exit(): exit processing procedure')\")\n+ console.push(\"print(' - debug(): call python debug module for further debug')\")\n+ console.push(\"print(' - rerun(): re-run the interrupted test case')\")\n \n \n def list_command():\n@@ -62,7 +62,7 @@ def list_command():\n \n for connection in CONNECTIONS:\n for name, session in list(connection.items()):\n- console.push(\"print 'connect %d: %10s'\" % (index, name))\n+ console.push(\"print('connect %d: %10s')\" % (index, name))\n index += 1\n \n \n", "prefixes": [ "V1" ] }{ "id": 110805, "url": "