From 562a4f9ac34a06c08db26d872bddd6a457435e18 Mon Sep 17 00:00:00 2001 From: Jorge Bastida Date: Tue, 2 Apr 2024 14:41:00 +0000 Subject: [PATCH] Cleanup --- awslogs/bin.py | 10 +++++----- awslogs/core.py | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/awslogs/bin.py b/awslogs/bin.py index 1983644..c88c688 100644 --- a/awslogs/bin.py +++ b/awslogs/bin.py @@ -236,11 +236,11 @@ def add_date_range_arguments(parser, default_start="5m"): issue_info = "\n".join( ( - "Version: {__version__}", - "Python: {sys.version}", - "boto3 version: {boto3.__version__}", - "Platform: {platform.platform()}", - "Args: {sys.argv}", + f"Version: {__version__}", + f"Python: {sys.version}", + f"boto3 version: {boto3.__version__}", + f"Platform: {platform.platform()}", + f"Args: {sys.argv}", "Config: {options}", "", traceback.format_exc(), diff --git a/awslogs/core.py b/awslogs/core.py index f153bc2..748896e 100644 --- a/awslogs/core.py +++ b/awslogs/core.py @@ -69,7 +69,6 @@ def __init__(self, **kwargs): self.aws_secret_access_key = kwargs.get("aws_secret_access_key") self.aws_session_token = kwargs.get("aws_session_token") self.aws_profile = kwargs.get("aws_profile") - self.aws_endpoint_url = kwargs.get("aws_endpoint_url") self.log_group_name = kwargs.get("log_group_name") self.log_stream_name = kwargs.get("log_stream_name") self.filter_pattern = kwargs.get("filter_pattern")