Skip to content
Snippets Groups Projects
Commit 973ba865 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

small fixes

parent f56a6c68
Branches
Tags
No related merge requests found
Pipeline #57755 passed with stages
in 45 seconds
......@@ -20,14 +20,12 @@ SOURCE_FILE_EXTENSIONS = {'c', 'cpp'}
class SfgConfigSource(Enum):
DEFAULT = auto()
PROJECT = auto()
COMMANDLINE = auto
COMMANDLINE = auto()
SCRIPT = auto()
class SfgConfigException(Exception):
def __init__(self, cfg_src: SfgConfigSource | None, message: str):
assert cfg_src != SfgConfigSource.DEFAULT, "Invalid default config. Contact a developer."
super().__init__(cfg_src, message)
self.message = message
self.config_source = cfg_src
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment