beremiz

Python runtime: change meaning of -s and -c options in CLI
py2compat
16 months ago, Edouard Tisserant
22d5df877860
Python runtime: change meaning of -s and -c options in CLI
#!/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"]