We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dc32a5 commit e1b8410Copy full SHA for e1b8410
1 file changed
juju/machine.py
@@ -171,12 +171,12 @@ async def ssh(
171
# stdout is a bytes-like object, returning a string might be more useful
172
return stdout.decode()
173
174
- async def wait(self, timeout: int=300) -> None:
+ async def wait(self, timeout: int = 300) -> None:
175
"""Waits until the machie is ready to take ssh/scp commands.
176
-
+
177
:param int timeout: Timeout in seconds to wait for.
178
"""
179
- await block_until(lambda: self.safe_data["addresses"] and
+ await block_until(lambda: self.safe_data["addresses"] and
180
self.agent_status == "started", timeout=timeout)
181
182
@property
0 commit comments