Rename variable to avoid shadowing of built-in name
Change-Id: I06e2617db1d5508723bc343072a15586af89b390
This commit is contained in:
parent
5e3ec1b42f
commit
acc39673ab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user