mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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
Block a user