[virt-tools-list] [PATCH] Fix a few issues reported by codespell

Erik Skultety eskultet at redhat.com
Mon Mar 18 16:48:40 UTC 2019


There were a few minor typos across the codebase which codespell pointed
out.

Signed-off-by: Erik Skultety <eskultet at redhat.com>
---
 virtManager/createpool.py | 2 +-
 virtManager/createvol.py  | 2 +-
 virtManager/details.py    | 2 +-
 virtinst/osdict.py        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/virtManager/createpool.py b/virtManager/createpool.py
index ac0a115c..006b2a37 100644
--- a/virtManager/createpool.py
+++ b/virtManager/createpool.py
@@ -415,7 +415,7 @@ class vmmCreatePool(vmmGObjectUI):
     def _async_pool_create(self, asyncjob, build):
         meter = asyncjob.get_meter()
 
-        logging.debug("Starting backround pool creation.")
+        logging.debug("Starting background pool creation.")
         poolobj = self._pool.install(create=True, meter=meter, build=build)
         poolobj.setAutostart(True)
         logging.debug("Pool creation succeeded")
diff --git a/virtManager/createvol.py b/virtManager/createvol.py
index 3544cd9a..82cfca9d 100644
--- a/virtManager/createvol.py
+++ b/virtManager/createvol.py
@@ -271,7 +271,7 @@ class vmmCreateVolume(vmmGObjectUI):
         self.vol.pool = newpool
 
         meter = asyncjob.get_meter()
-        logging.debug("Starting backround vol creation.")
+        logging.debug("Starting background vol creation.")
         self.vol.install(meter=meter)
         logging.debug("vol creation complete.")
 
diff --git a/virtManager/details.py b/virtManager/details.py
index 920eea94..bdb1d2d2 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -1883,7 +1883,7 @@ class vmmDetails(vmmGObjectUI):
     ##################################################
 
     def config_cancel(self, ignore=None):
-        # Remove current changes and deactive 'apply' button
+        # Remove current changes and deactivate 'apply' button
         self.hw_selected()
 
     def config_apply(self, ignore=None, row=None):
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
index 033e227d..20ce03ee 100644
--- a/virtinst/osdict.py
+++ b/virtinst/osdict.py
@@ -558,7 +558,7 @@ class _OsVariant(object):
             logging.debug("Install script found for profile '%s'", profile)
 
             # Some OSes (as Windows) have more than one installer script,
-            # depending on the OS version and profile choosen, to be used to
+            # depending on the OS version and profile chosen, to be used to
             # perform the unattended installation. Let's just deal with
             # multiple installer scripts when its actually needed, though.
             return installscripts[0]
-- 
2.20.1




More information about the virt-tools-list mailing list