beremiz
Clone
Summary
Browse
Changes
Graph
IDE: When receiving SIGTERM signal, kill runtime befor bailing out without saving.
wxPython4
2023-01-01, Edouard Tisserant
cea2005bf2c9
IDE: When receiving SIGTERM signal, kill runtime befor bailing out without saving.
Purpose is to allow expedited test termination.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# See COPYING.Runtime file for copyrights details.
LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]