From 94050e4b6b8986c6d1aa2b99a86f7b4af5136787 Mon Sep 17 00:00:00 2001 From: Stephen R Persky Date: Tue, 5 Apr 2022 08:37:51 -0400 Subject: [PATCH] Updates per request Two updates per request from owner. Changed return False to return None in the showoci.set_parter_arguments routine Fixed typos/spelling errors in Initiate comments --- examples/showoci/showoci.py | 2 +- examples/showoci/showoci_data.py | 2 +- examples/showoci/showoci_output.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/showoci/showoci.py b/examples/showoci/showoci.py index 6d8d19d99d..f139dddbc5 100755 --- a/examples/showoci/showoci.py +++ b/examples/showoci/showoci.py @@ -343,7 +343,7 @@ def set_parser_arguments(argsList=[]): result = parser.parse_args(args=argsList) return result except: - return False + return None if len(sys.argv) < 2: diff --git a/examples/showoci/showoci_data.py b/examples/showoci/showoci_data.py index 2b603d17cf..a62a2676e7 100755 --- a/examples/showoci/showoci_data.py +++ b/examples/showoci/showoci_data.py @@ -41,7 +41,7 @@ def __init__(self, flags): # initiate service object self.service = ShowOCIService(flags) - # Initate data list everytime class is instantiated + # Initiate data list everytime class is instantiated self.data = [] ############################################ diff --git a/examples/showoci/showoci_output.py b/examples/showoci/showoci_output.py index 161ad1d498..a99bd714d3 100755 --- a/examples/showoci/showoci_output.py +++ b/examples/showoci/showoci_output.py @@ -2648,7 +2648,7 @@ class ShowOCISummary(object): ############################################ def __init__(self): - # Initate summary objects everytime class is instantiated + # Initiate summary objects every time class is instantiated self.summary_global_list = [] self.summary_global_data = [] self.summary_global_region_total = []