beremiz
Clone
Summary
Browse
Changes
Graph
LocationCellEditor use better source for variable name replacement, and validate variable name before applying it or complains otherwise.
rename_on_location_change
2019-04-03, Edouard Tisserant
48a486000e84
LocationCellEditor use better source for variable name replacement, and validate variable name before applying it or complains otherwise.
#!/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"]