Kevin Locke
2020-Jun-06 12:29 UTC
[Libguestfs] [PATCH] v2v: fix spelling errors in Python comments
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@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
Richard W.M. Jones
2020-Jun-06 13:42 UTC
Re: [Libguestfs] [PATCH] v2v: fix spelling errors in Python comments
Thanks - pushed it just now. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Possibly Parallel Threads
- [PATCH 1/8] v2v: -o rhv-upload: split vmcheck out of precheck
- [v2v PATCH 0/6] Various Python pycodestyle fixes
- Re: [PATCH 2/2] v2v: -o rhv-upload: use same tmpdir for Python scripts
- [PATCH 2/2] v2v: -o rhv-upload: use same tmpdir for Python scripts
- [PATCH v2 11/11] rhv-upload: Clean up username and password