[Qemu-devel] [PATCH trivial] scripts/argparse.py: spelling (independant)

Michael Tokarev posted 1 patch 6 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180111143201.17865-1-mjt@msgid.tls.msk.ru
Test checkpatch passed
Test docker passed
Test ppc passed
Test s390x passed
scripts/argparse.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PATCH trivial] scripts/argparse.py: spelling (independant)
Posted by Michael Tokarev 6 years, 3 months ago
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 scripts/argparse.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/argparse.py b/scripts/argparse.py
index 288c1f06c0..27d1f28935 100644
--- a/scripts/argparse.py
+++ b/scripts/argparse.py
@@ -76,7 +76,7 @@ considered public as object names -- the API of the formatter objects is
 still considered an implementation detail.)
 """
 
-__version__ = '1.4.0'  # we use our own version number independant of the
+__version__ = '1.4.0'  # we use our own version number independent of the
                        # one in stdlib and we release this on pypi.
 
 __external_lib__ = True  # to make sure the tests really test THIS lib,
-- 
2.11.0


Re: [Qemu-devel] [PATCH trivial] scripts/argparse.py: spelling (independant)
Posted by Eric Blake 6 years, 3 months ago
On 01/11/2018 08:32 AM, Michael Tokarev wrote:
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>  scripts/argparse.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/argparse.py b/scripts/argparse.py
> index 288c1f06c0..27d1f28935 100644
> --- a/scripts/argparse.py
> +++ b/scripts/argparse.py

From the top of the file:

# This is a local copy of the standard library argparse module taken
from PyPI.
# It is licensed under the Python Software Foundation License.  This is a
# fallback for Python 2.6 which does not include this module.  Python
2.7+ and
# 3+ will never load this module because built-in modules are loaded before
# anything in sys.path.


> @@ -76,7 +76,7 @@ considered public as object names -- the API of the formatter objects is
>  still considered an implementation detail.)
>  """
>  
> -__version__ = '1.4.0'  # we use our own version number independant of the
> +__version__ = '1.4.0'  # we use our own version number independent of the
>                         # one in stdlib and we release this on pypi.

Is this typo still present in the upstream source that we copied from?
It's our local downstream copy, so we can tweak it, but we might want to
feed this one back upstream.

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org