mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 21:18:04 +03:00
Fix codespell errors
This commit is contained in:
parent
de59d33a59
commit
bc4573a14b
@ -204,7 +204,7 @@ class URLTests(unittest.TestCase):
|
||||
|
||||
# Non-existent cdrom fails
|
||||
try:
|
||||
installer = Installer(hvmguest.conn, cdrom="/i/dont/exist/foobar")
|
||||
installer = Installer(hvmguest.conn, cdrom="/not/exist/foobar")
|
||||
self.assertEqual(None, installer.detect_distro(hvmguest))
|
||||
raise AssertionError("Expected cdrom failure")
|
||||
except ValueError as e:
|
||||
|
2
virt-xml
2
virt-xml
@ -78,7 +78,7 @@ def get_domain_and_guest(conn, domstr):
|
||||
try:
|
||||
domain = conn.lookupByName(domstr)
|
||||
except Exception:
|
||||
# Incase the VM has a UUID or ID for a name
|
||||
# In case the VM has a UUID or ID for a name
|
||||
logging.debug("Error looking up domain by name", exc_info=True)
|
||||
if isint:
|
||||
domain = conn.lookupByID(int(domstr))
|
||||
|
@ -905,7 +905,7 @@ class _SuboptCheckerClass:
|
||||
if name.startswith("--unattended"):
|
||||
# Hack, we don't have any test suite coverage of the
|
||||
# unattended option. This should change soon but until then
|
||||
# disable the test suite failue
|
||||
# disable the test suite failure
|
||||
return
|
||||
self._all.add(name)
|
||||
|
||||
@ -970,7 +970,7 @@ class _VirtCLIArgumentStatic(object):
|
||||
"cliname=%s propname is None but lookup_cb is not specified. "
|
||||
"Even if a 'cb' is passed, 'propname' is still used for "
|
||||
"device lookup for virt-xml --edit.\n\nIf cb is just "
|
||||
"a convertor function for a single propname, then set "
|
||||
"a converter function for a single propname, then set "
|
||||
"both propname and cb. If this cliname is truly "
|
||||
"not backed by a single propname, set lookup_cb=None or "
|
||||
"better yet implement a lookup_cb. This message is here "
|
||||
|
Loading…
Reference in New Issue
Block a user