From c6524fc7ac3a271a91fef994a9a9529940337596 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 13 Oct 2020 13:50:01 +0300 Subject: typing fixes --- kvmd/inotify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kvmd/inotify.py') diff --git a/kvmd/inotify.py b/kvmd/inotify.py index 422f3a0a..53578aa3 100644 --- a/kvmd/inotify.py +++ b/kvmd/inotify.py @@ -25,7 +25,6 @@ import sys import os import asyncio -import asyncio.queues import ctypes import ctypes.util import struct @@ -230,7 +229,7 @@ class Inotify: self.__moved: Dict[int, str] = {} - self.__events_queue: asyncio.queues.Queue = asyncio.Queue() + self.__events_queue: "asyncio.Queue[InotifyEvent]" = asyncio.Queue() def watch(self, path: str, mask: int) -> None: path = os.path.normpath(path) -- cgit v1.2.3