From 4b5a12dfb13f86458b782119865ce79fcc592827 Mon Sep 17 00:00:00 2001 From: nayna-patel Date: Fri, 7 Aug 2015 07:19:18 +0000 Subject: [PATCH] This submission fixes typos for the following files - 1. tests/ci/cover.sh 2. rally/plugins/openstack/context/cleanup/manager.py 3. rally/task/validation.py Change-Id: Ia8b412caf7b5d995bf367ebe89172555882ca898 --- rally/plugins/openstack/context/cleanup/manager.py | 2 +- rally/task/validation.py | 2 +- tests/ci/cover.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rally/plugins/openstack/context/cleanup/manager.py b/rally/plugins/openstack/context/cleanup/manager.py index 52894f66df..ed35da2794 100644 --- a/rally/plugins/openstack/context/cleanup/manager.py +++ b/rally/plugins/openstack/context/cleanup/manager.py @@ -104,7 +104,7 @@ class SeekAndDestroy(object): % (resource.__module__, type(resource).__name__)) LOG.exception(e) - # NOTE(boris-42): Avoid LOG spaming in case of bad + # NOTE(boris-42): Avoid LOG spamming in case of bad # is_deleted() method failures_count += 1 if failures_count > resource._max_attempts: diff --git a/rally/task/validation.py b/rally/task/validation.py index 196fbab43a..a98f751f07 100644 --- a/rally/task/validation.py +++ b/rally/task/validation.py @@ -459,7 +459,7 @@ def tempest_set_exists(config, clients, deployment): @validator def required_parameters(config, clients, deployment, *required_params): - """Validtor for checking required parameters are specified. + """Validator for checking required parameters are specified. :param *required_params: list of required parameters """ diff --git a/tests/ci/cover.sh b/tests/ci/cover.sh index 209511c4b5..9a7d72247d 100755 --- a/tests/ci/cover.sh +++ b/tests/ci/cover.sh @@ -22,7 +22,7 @@ show_diff () { diff -U 0 $1 $2 | sed 1,2d } -# Stash uncommited changes, checkout master and save coverage report +# Stash uncommitted changes, checkout master and save coverage report uncommited=$(git status --porcelain | grep -v "^??") [[ -n $uncommited ]] && git stash > /dev/null git checkout HEAD^ @@ -32,7 +32,7 @@ find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr coverage report > $baseline_report baseline_missing=$(awk 'END { print $3 }' $baseline_report) -# Checkout back and unstash uncommited changes (if any) +# Checkout back and unstash uncommitted changes (if any) git checkout - [[ -n $uncommited ]] && git stash pop > /dev/null