Skip to content
Snippets Groups Projects
Commit a9e64758 authored by Carsten Kuenne's avatar Carsten Kuenne
Browse files

Update loosolab_s3/cmd.py

parent 90e56ed4
No related branches found
No related tags found
No related merge requests found
...@@ -33,9 +33,9 @@ def run_s3_functions(): ...@@ -33,9 +33,9 @@ def run_s3_functions():
if args.bucket_exists: if args.bucket_exists:
utils.check_argparser(args, ['secret', "key", 'bucketname']) utils.check_argparser(args, ['secret', "key", 'bucketname'])
if s3.check_s3_bucket_ex(args.bucketname): if s3.check_s3_bucket_ex(args.bucketname):
print('Bucket ' + args.bucketname + ' exists!') print('Found bucket ' + args.bucketname + ': yes')
else: else:
print('Bucket ' + args.bucketname + ' dont exists!') print('Found bucket ' + args.bucketname + ': no')
#--------------------------------------------------------------------------------------------------------# #--------------------------------------------------------------------------------------------------------#
# parse command line arguments: # parse command line arguments:
...@@ -65,4 +65,4 @@ def argparsefunc(): ...@@ -65,4 +65,4 @@ def argparsefunc():
return args return args
if __name__ == "__main__": if __name__ == "__main__":
run_s3_functions() run_s3_functions()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment