3 import xml.etree.ElementTree as ET
6 tree1 = ET.parse(sys.argv[1])
7 tree2= ET.parse(sys.argv[2])
9 namespace="http://linux.duke.edu/metadata/rpm"
10 req1 = tree1.findall('.//{%s}entry' % namespace)
11 req2 = tree2.findall('.//{%s}entry' % namespace)
15 l1.append(r.attrib.get("name"))
17 l2.append(r.attrib.get("name"))
21 intersection = s1 & s2
22 for i in intersection: