beremiz

Add helper function GetRetainSize()

2018-06-01, Andrey Skvortsov
9fa5be79bb77
Add helper function GetRetainSize()

it will be useful for retain implementations.
#!/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"]