From 6df666cb72bb2ca9d092092e4a92dd3b69e5f517 Mon Sep 17 00:00:00 2001 From: yanghua Date: Sat, 19 Oct 2024 10:19:13 +0800 Subject: [PATCH] Remove unnecessary tag log --- tosfs/tag.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tosfs/tag.py b/tosfs/tag.py index d486160..12bd499 100644 --- a/tosfs/tag.py +++ b/tosfs/tag.py @@ -243,7 +243,6 @@ def add_bucket_tag(self, bucket: str) -> None: """Add tag for bucket.""" from tosfs.core import logger - logger.debug(f"Trigger add_bucket_tag: {bucket}") collect_bucket_set = {bucket} if not collect_bucket_set - self.cached_bucket_set: @@ -255,13 +254,13 @@ def add_bucket_tag(self, bucket: str) -> None: from tosfs.core import logger logger.debug( - f"Marked tagged buckets in the file are: " + f"Marked tagged buckets in the file : " f"{tagged_bucket_from_file_set}" ) self.cached_bucket_set |= tagged_bucket_from_file_set need_tag_buckets = collect_bucket_set - self.cached_bucket_set - logger.debug(f"Need to tag buckets are: {need_tag_buckets}") + logger.debug(f"Need to tag buckets : {need_tag_buckets}") for res in self.executor.map( self.bucket_tag_service.put_bucket_tag, need_tag_buckets