beremiz
Clone
Summary
Browse
Changes
Graph
Py3 usual encoding, ints and exceptions fixes.
2023-05-31, Edouard Tisserant
032bf4f225d0
Py3 usual encoding, ints and exceptions fixes.
#!/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"]