Skip to content

Commit ededbe1

Browse files
author
Spencer Rak
committed
Formatting
1 parent 0b6567b commit ededbe1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

carthage_base/roles.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ async def install_software(self):
4040
await self.run_command("apt", "-y", "install", "dnsmasq")
4141
await self.run_command('apt', '-y', 'remove', 'systemd-resolved')
4242
async with self.filesystem_access() as path:
43-
try: Path(path).joinpath("etc/resolv.conf").unlink()
44-
except FileNotFoundError: pass
45-
with Path(path).joinpath("etc/resolv.conf").open("wt") as f:
43+
try:
44+
Path(path).joinpath("etc/resolv.conf").unlink()
45+
except FileNotFoundError:
46+
pass
47+
with Path(path).joinpath("etc/resolv.conf").open("wt") as f:
4648
f.write("nameserver 127.0.0.1\n")
4749

48-
49-
5050
install_mako = install_mako_task('model')
5151

5252
@setup_task("restart dnsmasq")

0 commit comments

Comments
 (0)