From d802f615bdc02a107302a5fcab6713f7b010a928 Mon Sep 17 00:00:00 2001 From: William-Brown5515 Date: Mon, 25 Nov 2024 11:52:36 +0000 Subject: [PATCH] Remove type hint. Type hint here is unnecessary, and causes the Travis CI test to break. --- bin/receiver.py | 4 ++-- bin/sender.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/receiver.py b/bin/receiver.py index f37d1953..4a750383 100644 --- a/bin/receiver.py +++ b/bin/receiver.py @@ -21,7 +21,7 @@ import ssm.agents from ssm import __version__, LOG_BREAK -from argparse import ArgumentParser, Namespace +from argparse import ArgumentParser import logging import os import sys @@ -52,7 +52,7 @@ def main(): version=ver) # Parsing arguments into an argparse.Namespace object for structured access. - options: Namespace = arg_parser.parse_args() + options = arg_parser.parse_args() # Deprecating functionality. old_log_config_default_path = '/etc/apel/logging.cfg' diff --git a/bin/sender.py b/bin/sender.py index 70c09fe6..092269ec 100644 --- a/bin/sender.py +++ b/bin/sender.py @@ -21,7 +21,7 @@ import ssm.agents from ssm import __version__, LOG_BREAK -from argparse import ArgumentParser, Namespace +from argparse import ArgumentParser import logging import os import sys @@ -47,7 +47,7 @@ def main(): version=ver) # Parsing arguments into an argparse.Namespace object for structured access. - options: Namespace = arg_parser.parse_args() + options = arg_parser.parse_args() # Deprecating functionality. old_log_config_default_path = '/etc/apel/logging.cfg'