Merge branch 'master' into experimental
[enigma2.git] / tools / genmetaindex.py
index f7dc5b98a769737d1d8df22f843e2bce17951165..f42cefc23b8baf8248f4ca8cdd240e4cd0e6d92a 100755 (executable)
@@ -1,25 +1,23 @@
-# usage: genmetaindex.py <language> <xml-files>  > index.xml
+# usage: genmetaindex.py <xml-files>  > index.xml
 import sys, os
 from xml.etree.ElementTree import ElementTree, Element
 
-language = sys.argv[1]
-
 root = Element("index")
 
-for file in sys.argv[2:]:
+for file in sys.argv[1:]:
        p = ElementTree()
        p.parse(file)
        
        package = Element("package")
        package.set("details", os.path.basename(file))
        
-       # we need all prerequisuited
+       # we need all prerequisites
        package.append(p.find("prerequisites"))
        
        info = None
-       # we need some of the info, but only our locale
+       # we need some of the info, but not all
        for i in p.findall("info"):
-               if not info or i.get("language") == language:
+               if not info:
                        info = i
        assert info