X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1b01c9c3c05fdd42327406161bd5c51e05fbca19..533dd652737ca702c0e9528ed06e8a17b9ec72c5:/lib/python/Components/DreamInfoHandler.py?ds=sidebyside diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py index c5f82629..2f2e757c 100644 --- a/lib/python/Components/DreamInfoHandler.py +++ b/lib/python/Components/DreamInfoHandler.py @@ -31,7 +31,7 @@ class InfoHandler(xml.sax.ContentHandler): def startElement(self, name, attrs): #print name, ":", attrs.items() self.elements.append(name) - if name in ["hardware", "bcastsystem", "satellite", "tag"]: + if name in ("hardware", "bcastsystem", "satellite", "tag"): if not attrs.has_key("type"): self.printError(str(name) + " tag with no type attribute") if self.elements[-3] == "default":