From e53e370a3ade357db70bd84f8efae68865604404 Mon Sep 17 00:00:00 2001 From: Lianne Date: Tue, 11 Jun 2019 18:27:06 +0800 Subject: [PATCH] qa/tasks/cephfs/test_volume_client: print py2 or py3 which the test case runs Fixes: http://tracker.ceph.com/issues/40184 Signed-off-by: Lianne (cherry picked from commit 7c7c7870d38902a0df83a0fdecaa56baad556d82) --- qa/tasks/cephfs/test_volume_client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_volume_client.py b/qa/tasks/cephfs/test_volume_client.py index 06094dd6fe988..8ab632b92a626 100644 --- a/qa/tasks/cephfs/test_volume_client.py +++ b/qa/tasks/cephfs/test_volume_client.py @@ -19,7 +19,9 @@ class TestVolumeClient(CephFSTestCase): def setUp(self): CephFSTestCase.setUp(self) self.py_version = self.ctx.config.get('overrides', {}).get('python', 'python') - log.info("using python version: %s".format(self.py_version)) + log.info("using python version: {python_version}".format( + python_version=self.py_version + )) def _volume_client_python(self, client, script, vol_prefix=None, ns_prefix=None): # Can't dedent this *and* the script we pass in, because they might have different -- 2.39.5