Skip to content

Commit

Permalink
Blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
simenheg committed Feb 14, 2024
1 parent 4ca843e commit 27298d9
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions okdata/cli/commands/pubreg/pubreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,13 @@ def delete_client(self):
client_name,
env,
(
f" along with the key stored in AWS account {aws_account} "
f"({aws_region})"
)
if delete_from_aws
else "",
(
f" along with the key stored in AWS account {aws_account} "
f"({aws_region})"
)
if delete_from_aws
else ""
),
),
)

Expand Down Expand Up @@ -226,15 +228,19 @@ def create_client_key(self):
client_name,
env,
(
f"send it to AWS account {aws_account} ({aws_region}), "
"REPLACING any existing key for this client"
)
if key_destination == "aws"
else "save it locally",
(
f"send it to AWS account {aws_account} ({aws_region}), "
"REPLACING any existing key for this client"
)
if key_destination == "aws"
else "save it locally"
),
),
(
"The key will be rotated automatically every night on weekdays.\n"
if enable_auto_rotate
else "The key will NOT be rotated automatically.\n"
),
"The key will be rotated automatically every night on weekdays.\n"
if enable_auto_rotate
else "The key will NOT be rotated automatically.\n",
]
)
)
Expand Down

0 comments on commit 27298d9

Please sign in to comment.