From 10aea0918082ea87723a7e6754133283883bcfa7 Mon Sep 17 00:00:00 2001 From: Florent Viard Date: Wed, 11 Sep 2024 02:18:29 +0200 Subject: [PATCH] Fixes #1298 - Fixes du cmd error when no bucket in the account --- s3cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3cmd b/s3cmd index 65472d56..ad566a92 100755 --- a/s3cmd +++ b/s3cmd @@ -123,7 +123,7 @@ def subcmd_bucket_usage_all(s3): total_size_str = str(total_size) + size_coeff output(u"".rjust(12, "-")) output(u"%s Total" % (total_size_str.ljust(12))) - return size + return buckets_size def subcmd_bucket_usage(s3, uri): """