Comment 4 for bug 1073856

Revision history for this message
Julian Taylor (jtaylor) wrote :

why use a regex at all, this is what I use in my own (awful) adtrunner
depends = depends.replace("(", " ").replace("[", " ")
packages = [x.split()[0] for x in depends.split(",")]

depends is a string from debian.deb822