Skip to content
Snippets Groups Projects
Commit c5904c6c authored by Nilesh's avatar Nilesh
Browse files

script to extract names of packages

parent a2b93416
No related merge requests found
import os
file = open('deps', 'r').readlines()
for s in file:
if len(s) > 3:
s = s.lower()
p = s[s.find('for') + 4 : s.find('failed')]
os.system("echo '*' " + p + " >> rdeps")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment