Commits

Anonymous committed 4105782

- improved dependency scanning

Comments (0)

Files changed (1)

     doc = libxml2.parseFile(str(node))
     result = style.applyStylesheet(doc, None)
 
-    depfiles = [x.strip() for x in str(result).splitlines() if x.strip() != "" and not x.startswith("<?xml ")]
+    depfiles = []
+    for x in str(result).splitlines():
+        if x.strip() != "" and not x.startswith("<?xml "):
+            depfiles.extend(x.strip().split())
     
     style.freeStylesheet()
     doc.freeDoc()