diff options
Diffstat (limited to 'install-xpi')
-rwxr-xr-x | install-xpi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install-xpi b/install-xpi index ddd7b1a..f73b1bf 100755 --- a/install-xpi +++ b/install-xpi @@ -51,12 +51,12 @@ def get_query_field_id_as_list(rdf_path, query_string): def get_target_applications(install_rdf): target_applications = get_query_field_id_as_list(install_rdf, - "SELECT ?id WHERE { ?x1 em:targetApplication ?x2 . ?x2 em:id ?id }") + "SELECT ?id WHERE { [] em:targetApplication ?x . ?x em:id ?id }") return target_applications def get_extension_id(install_rdf): extension_ids = set(get_query_field_id_as_list(install_rdf, - "SELECT ?id WHERE {?x1 em:targetApplication ?x2 . ?x1 em:id ?id }")) + "SELECT ?id WHERE {?x em:targetApplication [] . ?x em:id ?id }")) return extension_ids.pop() def get_arch(package): |