[virt-tools-list] [virt-manager PATCH] virtinst: fix some comment typos

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Wed Oct 29 08:02:28 UTC 2014


s/occurence/occurrence

Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
Note: pushed as trivial.

 virtinst/cli.py        | 2 +-
 virtinst/urlfetcher.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtinst/cli.py b/virtinst/cli.py
index b170aa4..71daca5 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -985,7 +985,7 @@ class VirtCLIParser(object):
 
         if editting and optlist:
             # If an object is passed in, we are updating it in place, and
-            # only use the last command line occurence, eg. from virt-xml
+            # only use the last command line occurrence, eg. from virt-xml
             optlist = [optlist[-1]]
 
         ret = []
diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index 1042550..93cc545 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -665,7 +665,7 @@ class FedoraDistro(RedHatDistro):
         ret = None
         for osinfo in osdict.list_os(typename="linux"):
             if osinfo.name.startswith("fedora") and "unknown" not in osinfo.name:
-                # First fedora* occurence should be the newest
+                # First fedora* occurrence should be the newest
                 ret = osinfo.name
                 break
 
-- 
1.9.3




More information about the virt-tools-list mailing list