beremiz
Clone
Summary
Browse
Changes
Graph
IDE/CLI: cleaner implementation of actions To Do Before Quit
15 months ago, Edouard Tisserant
6b4e1452fa16
IDE/CLI: cleaner implementation of actions To Do Before Quit
#!/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"]