On Tue, Apr 1, 2014 at 11:02 AM, Helga Velroyen <[email protected]> wrote:

> This patch fixes two typos of the work 'exisiting'.
>
> Signed-off-by: Helga Velroyen <[email protected]>
> ---
>  lib/client/gnt_instance.py | 2 +-
>  lib/storage/filestorage.py | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/client/gnt_instance.py b/lib/client/gnt_instance.py
> index 991082a..6acaa81 100644
> --- a/lib/client/gnt_instance.py
> +++ b/lib/client/gnt_instance.py
> @@ -1318,7 +1318,7 @@ def SetInstanceParams(opts, args):
>    for action, _, __ in nics:
>      if action == constants.DDM_MODIFY and opts.hotplug and not opts.force:
>        usertext = ("You are about to hot-modify a NIC. This will be done"
> -                  " by removing the exisiting and then adding a new one."
> +                  " by removing the existing and then adding a new one."
>

If we're changing these messages, can we s/existing/existing NIC/?


>                    " Network connection might be lost. Continue?")
>        if not AskUser(usertext):
>          return 1
> diff --git a/lib/storage/filestorage.py b/lib/storage/filestorage.py
> index 4b636e8..1fe01e5 100644
> --- a/lib/storage/filestorage.py
> +++ b/lib/storage/filestorage.py
> @@ -212,6 +212,6 @@ def CheckFileStoragePath(
>    except errors.FileStoragePathError as e:
>      return str(e)
>    if not os.path.isdir(path):
> -    return "Path '%s' is not exisiting or not a directory." % path
> +    return "Path '%s' is not existing or not a directory." % path
>

 "Path '%s' does not exist or not a directory." would be correct here?


>    if not os.access(path, os.W_OK):
>      return "Path '%s' is not writable" % path
> --
> 1.9.1.423.g4596e3a
>
>

Reply via email to