mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix some pylint
This commit is contained in:
parent
f9297f3bc3
commit
d3b9fcf3de
@ -522,7 +522,7 @@ def _show_nographics_warnings(options, guest):
|
|||||||
return
|
return
|
||||||
|
|
||||||
for args in options.extra_args:
|
for args in options.extra_args:
|
||||||
if console_type in (options.extra_args or ""):
|
if console_type in (args or ""):
|
||||||
return
|
return
|
||||||
|
|
||||||
logging.warn(_("Did not find '%(console_string)s' in --extra-args, "
|
logging.warn(_("Did not find '%(console_string)s' in --extra-args, "
|
||||||
|
@ -639,6 +639,7 @@ class Distro(object):
|
|||||||
def _kernelFetchHelper(self, guest, kernelpath, initrdpath):
|
def _kernelFetchHelper(self, guest, kernelpath, initrdpath):
|
||||||
# Simple helper for fetching kernel + initrd and performing
|
# Simple helper for fetching kernel + initrd and performing
|
||||||
# cleanup if necessary
|
# cleanup if necessary
|
||||||
|
ignore = guest
|
||||||
kernel = self.fetcher.acquireFile(kernelpath)
|
kernel = self.fetcher.acquireFile(kernelpath)
|
||||||
args = ''
|
args = ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user