From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20E01A0093; Fri, 11 Mar 2022 03:00:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B5A741143; Fri, 11 Mar 2022 03:00:54 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 72C4740E78 for ; Fri, 11 Mar 2022 03:00:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964052; x=1678500052; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wzr7+zK+hQ6tgLYsSZsxhJs1AEi8qLAHBuvYtwHmOF0=; b=KtDcBadYB59JnwSoojhYYJup/tdOnJZ4jPjtirg0v72HuwTM3TGWiw1q NNByZdPAmTfXD0qa8tdbF5g1CCrVPuqUPA0IS73DOQyfeNwUwY8zxHKsC b7HxWir4KvyesJT8E0zjDcDD3ceOktEe/UQPkDXcvmjGUQEgWvevsgLHO fxR65H10d8QBYmGut+jSD49tNUXvHWXXeG1DO6/xxgkrDnqJOZFx/DVM3 PcYBZyiSLH1dxu/MnsAEIl7sWwrr0pMo6OF+CfwGV99vbgZbJPmAkMdYc GCXRqbmpjNqp/26kJaVh7ZMMlxiI6YKh3mQOANsaUUeahW7iEZOFh/sfj g==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421874" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421874" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:33 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256373" Received: from shwdenpg197.ccr.corp.intel.com ([10.253.109.70]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:31 -0800 From: Jun Dong To: dts@dpdk.org, ohilyard@iol.unh.edu Cc: lijuan.tu@intel.com, qingx.sun@intel.com, junx.dong@intel.com Subject: [dts] [V1 2/5] framework/pktgen_ixia_network: fix pylama errors Date: Fri, 11 Mar 2022 10:00:18 +0800 Message-Id: <20220311020022.6678-3-junx.dong@intel.com> X-Mailer: git-send-email 2.33.1.windows.1 In-Reply-To: <20220311020022.6678-1-junx.dong@intel.com> References: <20220311020022.6678-1-junx.dong@intel.com> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Pylama found the following errors: framework/pktgen_ixia_network.py:70: [E] E0401 Unable to import 'ixia_network' [pylint] Signed-off-by: Jun Dong --- framework/pktgen_ixia_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/pktgen_ixia_network.py b/framework/pktgen_ixia_network.py index 3a58abe5..2049d188 100644 --- a/framework/pktgen_ixia_network.py +++ b/framework/pktgen_ixia_network.py @@ -67,7 +67,7 @@ class IxNetworkPacketGenerator(PacketGenerator): def _connect(self, conf): # initialize ixNetwork class - from ixia_network import IxNetwork + from framework.ixia_network import IxNetwork self._conn = IxNetwork(self.pktgen_type, conf, self.logger) for p in self._conn.get_ports(): self._ports.append(p) -- 2.25.1