From: Lianne Date: Tue, 11 Jun 2019 10:27:06 +0000 (+0800) Subject: qa/tasks/cephfs/test_volume_client: print py2 or py3 which the test case runs X-Git-Tag: v13.2.7~223^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29208%2Fhead;p=ceph.git 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) --- diff --git a/qa/tasks/cephfs/test_volume_client.py b/qa/tasks/cephfs/test_volume_client.py index 06094dd6fe98..8ab632b92a62 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