From patchwork Fri Jan 13 14:30:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, ChenyuX" X-Patchwork-Id: 122004 Return-Path: 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]) by inbox.dpdk.org (Postfix) with ESMTP id 51298423BE; Fri, 13 Jan 2023 07:30:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DCE8410EF; Fri, 13 Jan 2023 07:30:18 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1E9D6410D4 for ; Fri, 13 Jan 2023 07:30:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673591416; x=1705127416; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=+8s7gV3jtfa0LhPkV03BlQemY6q+lqYBGupenPE6FE8=; b=Byg9OPatfIe0yYOMcWcBhmpkv+cH8XEmcRLPhj0rNvm+hjn/4ORGwofq 2UWg/8yFbwTknRITqjqtffwleB6YGKF8ImNvVDEreNXG45nFvtVjHrfUg H9iDqfNjC2wZYcx7QTmCyf6eKB/4MYaya0gfFmggOMlK0WDdJJ70jDpmH jUbAmq04d93sq5gNKQt28lE/UOs+2XSRVN7SttzFFNpS2TBrS/PZp2ZDT wcIA+x8AckQf813M9DcPSgmvijH98b51/nTOk/zYZBjB/OR7n2GsuOLyU UYgsZFzNZHZa5sMrhCxFumVAoTZvlFPJZGd8+dLpwkUOYYoQMqUMtNhzV g==; X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="307472800" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="307472800" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 22:30:14 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10588"; a="903487973" X-IronPort-AV: E=Sophos;i="5.97,213,1669104000"; d="scan'208";a="903487973" Received: from unknown (HELO localhost.localdomain) ([10.239.252.225]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jan 2023 22:30:12 -0800 From: Chenyu Huang To: dts@dpdk.org Cc: lijuan.tu@intel.com, qingx.sun@intel.com, chenyux.huang@intel.com, daxuex.gao@intel.com Subject: [PATCH] doc/dts_gsg/conf.py: Fix python2 completely removes the legacy historical problems. Date: Fri, 13 Jan 2023 14:30:36 +0000 Message-Id: <20230113143036.293177-1-chenyux.huang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 Signed-off-by: Chenyu Huang --- doc/dts_gsg/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dts_gsg/conf.py b/doc/dts_gsg/conf.py index 6356b370..6302ef25 100644 --- a/doc/dts_gsg/conf.py +++ b/doc/dts_gsg/conf.py @@ -16,7 +16,7 @@ project = "DPDK Test Suite" copyright = "2017, dpdk.org" strip_version_cmd = ( - "import sys;sys.path.append('../..');import version; print version.dts_version()" + "import sys;sys.path.append('../..');import version; print(version.dts_version())" ) version = subprocess.check_output(["python", "-c", strip_version_cmd]) version = version.decode("utf-8").rstrip()