doc/dts_gsg/conf.py: Fix python2 completely removes the legacy historical problems.
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
Signed-off-by: Chenyu Huang <chenyux.huang@intel.com>
---
doc/dts_gsg/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Huang, ChenyuX <chenyux.huang@intel.com>
> Sent: Friday, January 13, 2023 10:31 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Sun, QingX <qingx.sun@intel.com>; Huang,
> ChenyuX <chenyux.huang@intel.com>; Gao, DaxueX <daxuex.gao@intel.com>
> Subject: [PATCH] doc/dts_gsg/conf.py: Fix python2 completely removes the
> legacy historical problems.
>
> Signed-off-by: Chenyu Huang <chenyux.huang@intel.com>
Applied with comment changed.
thanks
@@ -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()