diff --git a/dmoj/utils/os_ext.py b/dmoj/utils/os_ext.py index 7ab1ff1a0..ecdbff645 100644 --- a/dmoj/utils/os_ext.py +++ b/dmoj/utils/os_ext.py @@ -1,6 +1,5 @@ import ctypes import ctypes.util -import os import signal from typing import Optional @@ -41,8 +40,3 @@ def strsignal(signo: int) -> str: def strsignal(signo: int) -> str: return _strsignal(signo) or f'Unknown signal {signo}' - - -def bool_env(name: str) -> bool: - value = os.environ.get(name, '') - return value.lower() in ('true', 'yes', '1', 'y', 't')