From patchwork Sun Sep 20 22:18:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ma, LihongX" X-Patchwork-Id: 78138 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CBF54A04B7; Mon, 21 Sep 2020 07:52:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A70401D941; Mon, 21 Sep 2020 07:52:28 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A4C071D8D3 for ; Mon, 21 Sep 2020 07:52:27 +0200 (CEST) IronPort-SDR: 7RETHK3qE0j+PrdW7dKp/2hNP+nijfPWMjOTElLqWV88jVDmUd/cdEVtjgzO/P4/mCn03ILgf6 uHRdWcYeYRXg== X-IronPort-AV: E=McAfee;i="6000,8403,9750"; a="178390738" X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="178390738" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2020 22:52:25 -0700 IronPort-SDR: OLFSXH1s/aatvFuu1BjSOpq6dRyexLOZ17DMMLy5RYzB14V88zAEWgTaEgpfoL4NoEvUinFUdF YXm2fdb5ybjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="453860170" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.174]) by orsmga004.jf.intel.com with ESMTP; 20 Sep 2020 22:52:24 -0700 From: LihongX Ma To: dts@dpdk.org Cc: LihongX Ma Date: Mon, 21 Sep 2020 06:18:51 +0800 Message-Id: <1600640331-23969-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V1] framework/packet: correct the contrib name X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" correct the scapy contrib file name Signed-off-by: LihongX Ma Tested-by: lihongx Ma --- framework/packet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/packet.py b/framework/packet.py index 6a306cb..a7cd172 100644 --- a/framework/packet.py +++ b/framework/packet.py @@ -78,7 +78,7 @@ def get_scapy_module_impcmd(): if m in local_modules: cmd_li.append(f'from {m} import {",".join(scapy_modules_required[m])}') else: - cmd_li.append(f'from scapy.contirb.{m} import {",".join(scapy_modules_required[m])}') + cmd_li.append(f'from scapy.contrib.{m} import {",".join(scapy_modules_required[m])}') return ';'.join(cmd_li) SCAPY_IMP_CMD = get_scapy_module_impcmd()