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