beremiz
Clone
Summary
Browse
Changes
Graph
ClassImporter now accepts string, callable or class, for compatibility with some old extensions.
2018-02-02, Edouard Tisserant
65edbc03fdbf
ClassImporter now accepts string, callable or class, for compatibility with some old extensions.
#!/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"]