diff --git a/i3pystatus/core/util.py b/i3pystatus/core/util.py index c6ec094..ab0a179 100644 --- a/i3pystatus/core/util.py +++ b/i3pystatus/core/util.py @@ -208,24 +208,16 @@ def formatp(string, **kwargs): class Token: string = "" - def __repr__(self): - return "<%s> " % self.__class__.__name__ - class OpeningBracket(Token): - def __repr__(self): - return "" + pass class ClosingBracket(Token): - def __repr__(self): - return "" + pass class String(Token): def __init__(self, str): self.string = str - def __repr__(self): - return super().__repr__() + repr(self.string) - TOKENS = { "[": OpeningBracket, "]": ClosingBracket,