From acc39673abfc6cd953628dbea94eb65ad2c9b361 Mon Sep 17 00:00:00 2001 From: Kyrylo Romanenko Date: Tue, 18 Oct 2016 19:09:06 +0300 Subject: [PATCH] Rename variable to avoid shadowing of built-in name Change-Id: I06e2617db1d5508723bc343072a15586af89b390 --- openstackclient/tests/functional/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstackclient/tests/functional/base.py b/openstackclient/tests/functional/base.py index 298b24548b..885abc02eb 100644 --- a/openstackclient/tests/functional/base.py +++ b/openstackclient/tests/functional/base.py @@ -63,8 +63,8 @@ class TestCase(testtools.TestCase): return cls.openstack('extension list ' + opts) @classmethod - def get_opts(cls, fields, format='value'): - return ' -f {0} {1}'.format(format, + def get_opts(cls, fields, output_format='value'): + return ' -f {0} {1}'.format(output_format, ' '.join(['-c ' + it for it in fields])) @classmethod