Wrongly spelled import

This commit is contained in:
Anton Hvornum 2022-01-07 10:55:51 +00:00
parent 93f9d159bd
commit a14533818b
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import logging import logging
import time import time
from typing import Interator from typing import Iterator
from .exceptions import SysCallError from .exceptions import SysCallError
from .general import SysCommand, SysCommandWorker, locate_binary from .general import SysCommand, SysCommandWorker, locate_binary
from .installer import Installer from .installer import Installer
@ -99,7 +99,7 @@ class Boot:
else: else:
raise SysCallError(f"Could not shut down temporary boot of {self.instance}: {shutdown}", exit_code=shutdown.exit_code) raise SysCallError(f"Could not shut down temporary boot of {self.instance}: {shutdown}", exit_code=shutdown.exit_code)
def __iter__(self) -> Interator[str]: def __iter__(self) -> Iterator[str]:
if self.session: if self.session:
for value in self.session: for value in self.session:
yield value yield value