upgrade max supported python version to 3.12; drop support for python 3.9 (>3.10 required)
This commit is contained in:
@ -4,7 +4,7 @@ from .scwrypts.exceptions import MissingVariableError
|
||||
|
||||
|
||||
def getenv(name, required=True):
|
||||
value = os_getenv(name, None)
|
||||
value = os_getenv(f'{name}__override', os_getenv(name))
|
||||
|
||||
if required and not value:
|
||||
raise MissingVariableError(name)
|
||||
|
Reference in New Issue
Block a user