urlfetcher: Fix breakage after kernel err report fix
This commit is contained in:
parent
bd782d5757
commit
1ffcc0cced
|
@ -506,8 +506,9 @@ class Distro(object):
|
|||
try:
|
||||
initrd = self.fetcher.acquireFile(initrdpath)
|
||||
return kernel, initrd, args
|
||||
finally:
|
||||
except:
|
||||
os.unlink(kernel)
|
||||
raise
|
||||
|
||||
|
||||
class GenericDistro(Distro):
|
||||
|
|
Loading…
Reference in New Issue