From: Ralf Jung Date: Wed, 23 Mar 2016 08:04:04 +0000 (+0100) Subject: remove unused enum X-Git-Url: https://git.ralfj.de/lilass.git/commitdiff_plain/953d73eb56c0bdf86b9b168a657b8f9fa04d80bf?ds=inline;hp=--cc remove unused enum --- 953d73eb56c0bdf86b9b168a657b8f9fa04d80bf diff --git a/lilass b/lilass index 2352e32..6780879 100755 --- a/lilass +++ b/lilass @@ -78,19 +78,6 @@ def situationByConfig(config): # run! return screen.ScreenSituation(internalConnectors, config.get('externalConnectors')) -class ShowLevels(Enum): - ONEXTERNAL = ("on-external") - ONNEW = ("on-new") - ONERROR = ("on-error") - def __init__(self, text): - # auto numbering - cls = self.__class__ - self._value_ = len(cls.__members__) + 1 - self.text = text - @classmethod - def getNames(cls): - return list(x.text for x in cls) - # if we run top-level if __name__ == "__main__": try: