beremiz

6dcf54a4f5f0
Fix xmlclass not behaving with simple XML element having to attibutes.

xsd:choice can sometime lead to such situation when there is no additional data associated to a particular choice.
#!/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"]