lib.ec.ssh.AsyncSSH: Ignore missing asyncssh

Accept if AsyncSSH is missing. The package would be nice to have, i.e. a good candidate for a "recommends" section, but until there's support for that, better be able to do without and fall back to command-line ssh.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-02 12:56:35 +02:00
commit 32fc7e097a
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -5,7 +5,7 @@ import shutil
import signal
import sys
import asyncssh
import asyncssh # type: ignore[import-not-found]
from ...base import Result
from ...log import DEBUG, ERR, NOTICE, log