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:
|
try:
|
||||||
initrd = self.fetcher.acquireFile(initrdpath)
|
initrd = self.fetcher.acquireFile(initrdpath)
|
||||||
return kernel, initrd, args
|
return kernel, initrd, args
|
||||||
finally:
|
except:
|
||||||
os.unlink(kernel)
|
os.unlink(kernel)
|
||||||
|
raise
|
||||||
|
|
||||||
|
|
||||||
class GenericDistro(Distro):
|
class GenericDistro(Distro):
|
||||||
|
|
Loading…
Reference in New Issue