beremiz
Clone
Summary
Browse
Changes
Graph
fixed exception happening when connecting to empty URI, and set URI through URI Editor Dialog popping up becaue empty.
2019-01-09, Edouard Tisserant
6cd7dae360d4
fixed exception happening when connecting to empty URI, and set URI through URI Editor Dialog popping up becaue empty.
#!/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"]