diff --git a/tosfs/core.py b/tosfs/core.py index 81c866f..bc9111c 100644 --- a/tosfs/core.py +++ b/tosfs/core.py @@ -2102,14 +2102,6 @@ def _call_list_objects_type2( all_results.extend(resp.contents + resp.common_prefixes) - # if bucket_type == TOS_BUCKET_TYPE_FNS: - # - # elif bucket_type == TOS_BUCKET_TYPE_HNS: - # - - # else: - # raise ValueError(f"Unsupported bucket type: {bucket_type}") - return all_results def _prefix_search_for_exists(self, bucket: str, key: str) -> bool: