mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
Merge "Rename variable to avoid shadowing of built-in name"
This commit is contained in:
commit
0b63d5d586
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue