From 372f8386b2776db0fd1db7975a13c672fc999de3 Mon Sep 17 00:00:00 2001 From: "chunhua1.liu" Date: Wed, 17 Jun 2020 11:50:04 +0800 Subject: [PATCH] fix pylint error for python-support Change-Id: Ied7b64729621c9cdc6c3a14cf348d36c14a794a9 --- tests/testparseversions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testparseversions.py b/tests/testparseversions.py index 4da7084..1b633ba 100755 --- a/tests/testparseversions.py +++ b/tests/testparseversions.py @@ -9,7 +9,7 @@ class TestParseVersions(unittest.TestCase): subp = subprocess.Popen(args, stdout=subprocess.PIPE) output = subp.communicate()[0] if subp.returncode != 0: - raise RuntimeError, subp.returncode + raise RuntimeError(subp.returncode) return output def pv_output(self, control): -- 2.7.4