File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ Run this python script to generate text file with expected purls
268268 scancode_purls.append(package["purl"])
269269 scancode_purls = sorted(scancode_purls)
270270 with open("~/tmp/pyinsp-example/codebase/output/scan.txt", "w") as f:
271- f.writelines ("\n".join(scancode_purls))
271+ f.write ("\n".join(scancode_purls))
272272
273273
274274The output is a list of expected purls with a version.
@@ -294,7 +294,7 @@ Run this python script to generate text file with actual purls
294294 py_insp_purls.append(package["package"])
295295 py_insp_purls = sorted(py_insp_purls)
296296 with open("~/tmp/pyinsp-example/codebase/output/py-insp.txt", "w") as f:
297- f.writelines ("\n".join(py_insp_purls))
297+ f.write ("\n".join(py_insp_purls))
298298
299299
300300The output is a list of actual purls with a version.
You can’t perform that action at this time.
0 commit comments