Skip to content

Commit f163603

Browse files
committed
fix: lint
1 parent 98b6d44 commit f163603

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

juju/machine.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ async def _scp(self, source, destination, scp_opts):
142142
raise JujuError("command failed: %s" % cmd)
143143

144144
async def ssh(
145-
self, command, user='ubuntu', proxy=False, ssh_opts=None,wait_for_active=True, timeout=None):
145+
self, command, user='ubuntu', proxy=False, ssh_opts=None, wait_for_active=True, timeout=None):
146146
"""Execute a command over SSH on this machine.
147147
148148
:param str command: Command to execute
@@ -177,15 +177,13 @@ async def ssh(
177177
# stdout is a bytes-like object, returning a string might be more useful
178178
return stdout.decode()
179179

180-
181180
@property
182181
def addresses(self) -> typing.List[str]:
183182
"""Returns the machine addresses.
184-
183+
185184
"""
186185
return self.safe_data['addresses'] or []
187186

188-
189187
@property
190188
def agent_status(self):
191189
"""Returns the current Juju agent status string.

0 commit comments

Comments
 (0)