From a9e64758a640832659bc840f3d7dcebb2aae2146 Mon Sep 17 00:00:00 2001 From: "carsten.kuenne" <carsten.kuenne@mpi-bn.mpg.de> Date: Thu, 27 Oct 2022 08:13:09 +0000 Subject: [PATCH] Update loosolab_s3/cmd.py --- loosolab_s3/cmd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loosolab_s3/cmd.py b/loosolab_s3/cmd.py index edd9d7d..0b8a7f4 100644 --- a/loosolab_s3/cmd.py +++ b/loosolab_s3/cmd.py @@ -33,9 +33,9 @@ def run_s3_functions(): if args.bucket_exists: utils.check_argparser(args, ['secret', "key", 'bucketname']) if s3.check_s3_bucket_ex(args.bucketname): - print('Bucket ' + args.bucketname + ' exists!') + print('Found bucket ' + args.bucketname + ': yes') else: - print('Bucket ' + args.bucketname + ' dont exists!') + print('Found bucket ' + args.bucketname + ': no') #--------------------------------------------------------------------------------------------------------# # parse command line arguments: @@ -65,4 +65,4 @@ def argparsefunc(): return args if __name__ == "__main__": - run_s3_functions() \ No newline at end of file + run_s3_functions() -- GitLab