beremiz
Clone
Summary
Browse
Changes
Graph
Moved XSLT model query python code so that XSLT part can be reused for other transformations (i.e. in SVGHMI)
svghmi
2019-08-09, Edouard Tisserant
a8c9b7f0a54a
Moved XSLT model query python code so that XSLT part can be reused for other transformations (i.e. in SVGHMI)
#!/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"]