From 8a1cb6b646d70d6c85d5e925ff1ee1dd05b3e881 Mon Sep 17 00:00:00 2001 From: Smig Tech Date: Wed, 2 Aug 2023 08:37:57 -0400 Subject: [PATCH] fix: replace logging with print --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.py b/main.py index d98f79b..d56d669 100644 --- a/main.py +++ b/main.py @@ -3,13 +3,11 @@ import boto import boto.s3.connection import datetime as dt from dotenv import load_dotenv -import logging import os import re load_dotenv() - def get_s3_bucket(bucketname: str, host: str): """returns bucket object based @@ -68,7 +66,7 @@ def delete_keys(keys_to_delete: list, bucket): """ for k in keys_to_delete: - logging.info(f"Deleting key {k.name}") + print(f"Deleting key {k.name}") bucket.delete_key(k)