summaryrefslogtreecommitdiff
path: root/kvmd/aiohelpers.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-09-04 18:08:40 +0300
committerMaxim Devaev <[email protected]>2022-09-04 18:08:40 +0300
commitee3e224e396494cd0d69bb6167087a071a20349c (patch)
tree5becd28570e58a03c6e1e231d0db24c264a73f88 /kvmd/aiohelpers.py
parent4b75221e9470b4a009955d7677f16adf8e23e302 (diff)
new typing style
Diffstat (limited to 'kvmd/aiohelpers.py')
-rw-r--r--kvmd/aiohelpers.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/aiohelpers.py b/kvmd/aiohelpers.py
index ae943d23..032afb87 100644
--- a/kvmd/aiohelpers.py
+++ b/kvmd/aiohelpers.py
@@ -22,8 +22,6 @@
import subprocess
-from typing import List
-
from .logging import get_logger
from . import tools
@@ -31,7 +29,7 @@ from . import aioproc
# =====
-async def remount(name: str, base_cmd: List[str], rw: bool) -> bool:
+async def remount(name: str, base_cmd: list[str], rw: bool) -> bool:
logger = get_logger(1)
mode = ("rw" if rw else "ro")
cmd = [