Commit 278c02ca authored by segfault's avatar segfault Committed by intrigeri
Browse files

Simplify code (refs: #15984)

parent ca31b003
......@@ -279,16 +279,9 @@ class ImageCreator(object):
def update_config(self, infile, outfile):
with open(infile) as f_in:
lines = f_in.readlines()
new_lines = list()
for line in lines:
line = re.sub('/isolinux/', '/syslinux/', line)
lines = [re.sub('/isolinux/', '/syslinux/', line) for line in f_in]
with open(outfile, "w") as f_out:
def install_mbr(self):"Installing MBR")
Supports Markdown
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