Skip to content

Commit 3cf708f

Browse files
committed
Format with newest black
Change-Id: I8bd59bf55d92dba84fb51b4ac51caf3feeda87a7
1 parent 47f6498 commit 3cf708f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

majavahbot/tasks/task_3_bot_status.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,13 @@ def format_block(self):
148148
"Partially blocked" if self.block_data["partial"] else "Blocked",
149149
self.block_data["by"],
150150
self.format_date(date, sortkey=False),
151-
"to expire at {}".format(
152-
self.format_date(self.block_data["expiry"], sortkey=False)
153-
)
154-
if self.block_data["expiry"] != "infinite"
155-
else "",
151+
(
152+
"to expire at {}".format(
153+
self.format_date(self.block_data["expiry"], sortkey=False)
154+
)
155+
if self.block_data["expiry"] != "infinite"
156+
else ""
157+
),
156158
self.format_block_reason(),
157159
)
158160
)

0 commit comments

Comments
 (0)