Skip to content

Commit 0245314

Browse files
committed
Correct these signatures
1 parent d06573f commit 0245314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runusb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ class AutorunProcessRegistry(object):
168168
} # type: Dict[USBType, TypeCloseHandler]
169169

170170
def __init__(self):
171-
self.mountpoint_processes = {} # type: Dict[str, USBType]
171+
self.mountpoint_processes = {} # type: Dict[str, subprocess.Popen]
172172
self.mountpoint_types = {} # type: Dict[str, USBType]
173173

174-
def update_filesystems(self, mountpoints: List[Mountpoint]):
174+
def update_filesystems(self, mountpoints: Iterator[Mountpoint]):
175175
actual_mountpoint_paths = {
176176
x.mountpoint
177177
for x in mountpoints

0 commit comments

Comments
 (0)