Rename variable to avoid shadowing of built-in name

Change-Id: I06e2617db1d5508723bc343072a15586af89b390
This commit is contained in:
Kyrylo Romanenko 2016-10-18 19:09:06 +03:00
parent 5e3ec1b42f
commit acc39673ab

View File

@ -63,8 +63,8 @@ class TestCase(testtools.TestCase):
return cls.openstack('extension list ' + opts) return cls.openstack('extension list ' + opts)
@classmethod @classmethod
def get_opts(cls, fields, format='value'): def get_opts(cls, fields, output_format='value'):
return ' -f {0} {1}'.format(format, return ' -f {0} {1}'.format(output_format,
' '.join(['-c ' + it for it in fields])) ' '.join(['-c ' + it for it in fields]))
@classmethod @classmethod