[Libguestfs] [PATCH] v2v: fix spelling errors in Python comments

Kevin Locke kevin at kevinlocke.name
Sat Jun 6 12:29:11 UTC 2020


These were flagged by the [Lintian] [spelling-error-in-binary] rule.

[Lintian]: https://github.com/Debian/lintian
[spelling-error-in-binary]: https://lintian.debian.org/tags/spelling-error-in-binary.html

Signed-off-by: Kevin Locke <kevin at kevinlocke.name>
---
 v2v/rhv-upload-plugin.py  | 4 ++--
 v2v/rhv-upload-vmcheck.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index d3e6260e..8c11012b 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -83,7 +83,7 @@ def parse_username():
 
 def failing(func):
     """
-    Decorator marking the handle as failed if any expection is raised in the
+    Decorator marking the handle as failed if any exception is raised in the
     decorated function.  This is used in close() to cleanup properly after
     failures.
     """
@@ -358,7 +358,7 @@ def close(h):
 
     http.close()
 
-    # If the connection failed earlier ensure we cancel the trasfer. Canceling
+    # If the connection failed earlier ensure we cancel the transfer. Canceling
     # the transfer will delete the disk.
     if h['failed']:
         try:
diff --git a/v2v/rhv-upload-vmcheck.py b/v2v/rhv-upload-vmcheck.py
index 0c597e19..6ad698aa 100644
--- a/v2v/rhv-upload-vmcheck.py
+++ b/v2v/rhv-upload-vmcheck.py
@@ -1,5 +1,5 @@
 # -*- python -*-
-# oVirt or RHV VM existance check used by ‘virt-v2v -o rhv-upload’
+# oVirt or RHV VM existence check used by ‘virt-v2v -o rhv-upload’
 # Copyright (C) 2018-2020 Red Hat Inc.
 #
 # This program is free software; you can redistribute it and/or modify
-- 
2.26.2





More information about the Libguestfs mailing list