All pastes #452820 Raw Edit

Something

public text v1 · immutable
·published 2007-04-22 15:17 UTC
rendered paste body
def findStatic():
    l = []
    for file_xml in findFilexml(folder):
        filexml = open(file_xml).readlines()

        for file in filexml:
            if file.find("Path") > 0:
                path = file.split("<Path>")[1].split("</Path>")[0]
                path = os.path.join("/", path)
                if path.endswith(".a"):
                    l.append(path)
                    print list(set(l))