Skip to content

Commit

Permalink
lint: use a str.join method (consider-using-join)
Browse files Browse the repository at this point in the history
  • Loading branch information
supakeen committed Mar 20, 2023
1 parent 0bca426 commit ba38d86
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions stages/org.osbuild.first-boot
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ After=network-online.target"""
else:
network = ""

execs = "\n"
for command in commands:
execs += f"ExecStart={command}\n"
execs = "\n".join(commands)

service = f"""[Unit]
Description=OSBuild First Boot Service
Expand Down

0 comments on commit ba38d86

Please sign in to comment.