fix tag prerequisite logic for .info files without tags
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 3 Jun 2008 12:06:46 +0000 (12:06 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 3 Jun 2008 12:06:46 +0000 (12:06 +0000)
lib/python/Components/DreamInfoHandler.py

index 570143d..261e800 100644 (file)
@@ -157,6 +157,8 @@ class DreamInfoHandler:
                        if prerequisites.has_key("tag"):
                                if not self.neededTag in prerequisites["tag"]:
                                        return False
                        if prerequisites.has_key("tag"):
                                if not self.neededTag in prerequisites["tag"]:
                                        return False
+                       else:
+                               return False
                                
                if prerequisites.has_key("satellite"):
                        for sat in prerequisites["satellite"]:
                                
                if prerequisites.has_key("satellite"):
                        for sat in prerequisites["satellite"]: