types: fix type annotations and remove novm annootations for llnl module

Apparently I forgot to do this in #34305.
This commit is contained in:
Todd Gamblin
2022-12-23 10:06:24 -08:00
committed by Harmen Stoppels
parent e8fa8c5f01
commit d100ac8923
2 changed files with 13 additions and 18 deletions

View File

@@ -21,12 +21,12 @@
import traceback
from contextlib import contextmanager
from threading import Thread
from types import ModuleType # novm
from typing import Optional # novm
from types import ModuleType
from typing import Optional
import llnl.util.tty as tty
termios = None # type: Optional[ModuleType]
termios: Optional[ModuleType] = None
try:
import termios as term_mod