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 570143da2e5377ce2124741c575fd9b0234fb906..261e800f5f5574f5a9ea7a05b598ddfabcd53f10 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"]: