Skip to content

Commit

Permalink
Reformat source files with black (#3100)
Browse files Browse the repository at this point in the history
The latest black version changed a few formatting rules, causing the lint
stage to fail. Changes in this commit make sure black is happy again.
  • Loading branch information
tadeboro committed Apr 30, 2021
1 parent 60b6814 commit 30a0e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/molecule/command/idempotence.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def execute(self):
LOG.info(msg)
else:
msg = (
"Idempotence test failed because of the following tasks:\n" u"{}"
"Idempotence test failed because of the following tasks:\n{}"
).format("\n".join(self._non_idempotent_tasks(output)))
util.sysexit_with_message(msg)

Expand Down Expand Up @@ -132,7 +132,7 @@ def _non_idempotent_tasks(self, output):
elif line.startswith("changed"):
host_name = re.search(r"\[(.*)\]", line).groups()[0]
task_name = re.search(r"\[(.*)\]", task_line).groups()[0]
res.append(u"* [{}] => {}".format(host_name, task_name))
res.append("* [{}] => {}".format(host_name, task_name))

return res

Expand Down

0 comments on commit 30a0e61

Please sign in to comment.