File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import sys
66import traceback
77
8- from common import common_functions
9-
108LOG_FILE_NAME = 'output.log'
119
1210REGION = 'us-west-2'
@@ -58,8 +56,8 @@ def _get(self, bucket_name):
5856 try :
5957 response = self .client .head_bucket (Bucket = bucket_name )
6058 except Exception as e :
61- print (e )
62- traceback .print_exc (file = sys .stdout )
59+ # print(e)
60+ # traceback.print_exc(file=sys.stdout)
6361
6462 response_code = e .response ['Error' ]['Code' ]
6563 if response_code == '404' :
@@ -209,13 +207,6 @@ def dispatch(self, command_string):
209207
210208def main ():
211209
212- available_cloud_setup = common_functions .get_cloud_setup ()
213- if 'aws' not in available_cloud_setup :
214- print ("Cloud setup not found for aws." )
215- print ("Doing the setup now.." )
216- os .system ("pip install awscli" )
217- os .system ("aws configure" )
218-
219210 s3_handler = S3Handler ()
220211
221212 while True :
You can’t perform that action at this time.
0 commit comments