diff options
Diffstat (limited to 'obfuscator/utils.py')
| -rw-r--r-- | obfuscator/utils.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/obfuscator/utils.py b/obfuscator/utils.py deleted file mode 100644 index 77ca1cf..0000000 --- a/obfuscator/utils.py +++ /dev/null @@ -1,16 +0,0 @@ -# Utility functions -from obfuscator.logger import get_logger - - -class Utilities: - def __init__(self, logger=None): - self.logger = get_logger("UTILITIES", logger) - - def get_s3_path(self, uri): - parts = uri.replace("s3://", "").split("/") - self.logger.debug(f"Parts: {parts}") - bucket = parts.pop(0) - self.logger.debug(f"Bucket: {bucket}") - key = "/".join(parts) - self.logger.debug(f"Key: {key}") - return bucket, key |
