summaryrefslogtreecommitdiff
path: root/openstackclient/object/v1/account.py
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2023-05-08 11:33:47 +0100
committerStephen Finucane <sfinucan@redhat.com>2023-05-10 10:51:30 +0100
commit329296cedd0a64e9f65b080cef749b65256db85b (patch)
treeb396ec4710102ec862d7e84c2513a86f0483d941 /openstackclient/object/v1/account.py
parentaed521d426f45b335e1c69d8b2f6d103c916f75c (diff)
downloadpython-openstackclient-329296cedd0a64e9f65b080cef749b65256db85b.tar.gz
Blacken openstackclient.object
Black used with the '-l 79 -S' flags. A future change will ignore this commit in git-blame history by adding a 'git-blame-ignore-revs' file. Change-Id: I6658e76d7d1f93149f24fcab28d593195b37779f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/object/v1/account.py')
-rw-r--r--openstackclient/object/v1/account.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/openstackclient/object/v1/account.py b/openstackclient/object/v1/account.py
index d6bc9fd7..ef3a47f7 100644
--- a/openstackclient/object/v1/account.py
+++ b/openstackclient/object/v1/account.py
@@ -30,8 +30,10 @@ class SetAccount(command.Command):
metavar="<key=value>",
required=True,
action=parseractions.KeyValueAction,
- help=_("Set a property on this account "
- "(repeat option to set multiple properties)")
+ help=_(
+ "Set a property on this account "
+ "(repeat option to set multiple properties)"
+ ),
)
return parser
@@ -48,7 +50,8 @@ class ShowAccount(command.ShowOne):
data = self.app.client_manager.object_store.account_show()
if 'properties' in data:
data['properties'] = format_columns.DictColumn(
- data.pop('properties'))
+ data.pop('properties')
+ )
return zip(*sorted(data.items()))
@@ -63,8 +66,10 @@ class UnsetAccount(command.Command):
required=True,
action='append',
default=[],
- help=_('Property to remove from account '
- '(repeat option to remove multiple properties)'),
+ help=_(
+ 'Property to remove from account '
+ '(repeat option to remove multiple properties)'
+ ),
)
return parser