misc: codespell fixes

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2024-10-13 15:26:08 +02:00
parent a9a78f45cf
commit d4194c134b
7 changed files with 11 additions and 8 deletions

View File

@ -3,3 +3,6 @@ doubleclick
msdos
hda
cloneable
passt
Cruzer
bootup

View File

@ -77,7 +77,7 @@ def testAlterGuest():
check = _make_checker(guest)
# Check specific vcpu_current behaviro
# Check specific vcpu_current behavior
check("vcpus", 5, 10)
assert guest.vcpu_current is None
check("vcpu_current", None, 15)

View File

@ -2090,12 +2090,12 @@ class vmmCreateVM(vmmGObjectUI):
else: # pragma: no cover
import virtBootstrap # pylint: disable=import-error
meter.start(_("Bootstraping container"), None)
meter.start(_("Bootstrapping container"), None)
def progress_update_cb(prog):
meter.start(_(prog['status']), None)
asyncjob.details_enable()
# Use logging filter to show messages of the progreess on the GUI
# Use logging filter to show messages of the progress on the GUI
class SetStateFilter(logging.Filter):
def filter(self, record):
asyncjob.details_update("%s\n" % record.getMessage())

View File

@ -496,7 +496,7 @@ def _populate_storage_list(storage_list, vm, conn, diskdatas):
def _prepare_storage_list(storage_list):
# Checkbox, deleteable?, storage path, target (hda), icon name,
# Checkbox, deletable?, storage path, target (hda), icon name,
# icon size, tooltip
model = Gtk.ListStore(bool, bool, str, str, bool, str, int, str)
storage_list.set_model(model)
@ -557,7 +557,7 @@ def _storage_item_toggled(src, index, storage_list):
def _can_delete(conn, vol, path):
"""Is the passed path even deleteable"""
"""Is the passed path even deletable"""
msg = None
if vol:

View File

@ -2132,7 +2132,7 @@ class vmmDetails(vmmGObjectUI):
show_ui("char-target-type", target_type)
show_ui("char-target-name", chardev.target_name)
# Only show for the qemu guest agent, which we get async
# notifiations about connection state. For spice this UI field
# notifications about connection state. For spice this UI field
# can get out of date
show_ui("char-target-state", chardev.target_state, doshow=is_qemuga)
clipboard = _("On") if chardev.source.clipboard_copypaste else _("Off")

View File

@ -140,7 +140,7 @@ def set_grid_row_visible(child, visible):
For the passed widget, find its parent GtkGrid, and hide/show all
elements that are in the same row as it. Simplifies having to name
every element in a row when we want to dynamically hide things
based on UI interraction
based on UI interaction
"""
parent = child.get_parent()
if not isinstance(parent, Gtk.Grid):

View File

@ -3244,7 +3244,7 @@ class ParserSysinfo(VirtCLIParser):
# Previously libvirt treated sysinfo as a singleton object, but
# that changed with fwcfg support. Our cli would merge all options
# together but now needs to support multiple. Maintain sorta
# backcompat behavior by mergin options if 'type' matches
# backcompat behavior by merging options if 'type' matches
if not inst:
typ = self.optdict["type"]
for sysinfo in self.guest.sysinfo: