summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/lib_utils.py
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-07-27 13:02:05 +0530
committerNigel Babu <nigelb@redhat.com>2018-08-07 19:48:57 +0530
commit82c94a926c1f1961932798257d18a2fc306f9393 (patch)
treea5d5aa43613182aa4d545bc4c0d10c123cf16fa2 /glustolibs-gluster/glustolibs/gluster/lib_utils.py
parente0bb79503c37843d02082b93425230f2afbbbde2 (diff)
Fix spelling mistake across the codebase
Change-Id: I46fc2feffe6443af6913785d67bf310838532421
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/lib_utils.py')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/lib_utils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/lib_utils.py b/glustolibs-gluster/glustolibs/gluster/lib_utils.py
index dcfb297..682152f 100644
--- a/glustolibs-gluster/glustolibs/gluster/lib_utils.py
+++ b/glustolibs-gluster/glustolibs/gluster/lib_utils.py
@@ -65,7 +65,7 @@ def append_string_to_file(mnode, filename, str_to_add_in_file,
return True
except IOError:
- g.log.error("Exception occured while adding string to "
+ g.log.error("Exception occurred while adding string to "
"file %s in append_string_to_file()", filename)
return False
finally:
@@ -90,7 +90,7 @@ def search_pattern_in_file(mnode, search_pattern, filename, start_str_to_parse,
file from which this method will check
if the given search string is present.
end_str_to_parse (str): this will be as end string in the
- file whithin which this method will check
+ file within which this method will check
if the given search string is present.
Returns:
@@ -288,7 +288,7 @@ def list_files(mnode, dir_path, parse_str="", user="root"):
filepaths.append(filepath)
return filepaths
except StopIteration:
- g.log.error("Exception occured in list_files()")
+ g.log.error("Exception occurred in list_files()")
return None
finally:
@@ -788,7 +788,7 @@ def is_core_file_created(nodes, testrun_timestamp,
List of nodes need to pass from test method
testrun_timestamp:
This time stamp need to pass from test method
- test case runing started time, time format is EPOCH
+ test case running started time, time format is EPOCH
time format, use below command for getting timestamp
of test case 'date +%s'
paths(list):