[PATCH] Clean up after processKickstart in parse-kickstart_test.py.

Chris Lumens clumens at redhat.com
Fri May 15 17:06:21 UTC 2015


> os.remove(line.partition("=")[2])
> 
> to make it less sensitive to character count.

Good idea, but that line also contains double quotes and newlines, so I
really need to:

    filename = line.partition("=")[2].strip().replace('"', "")
    os.remove(filename)

Better, or worse?

- Chris


More information about the anaconda-patches mailing list