From 3b4e76299763f51711dcabdc73dbb2cbeccfdb43 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 30 Mar 2022 13:44:47 -0400 Subject: [PATCH] Agent: Remove unused imports --- monkey/infection_monkey/exploit/tools/helpers.py | 2 +- .../infection_monkey/network_scanning/http_fingerprinter.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/monkey/infection_monkey/exploit/tools/helpers.py b/monkey/infection_monkey/exploit/tools/helpers.py index 595207f0c..05a15aed7 100644 --- a/monkey/infection_monkey/exploit/tools/helpers.py +++ b/monkey/infection_monkey/exploit/tools/helpers.py @@ -1,7 +1,7 @@ import logging import random import string -from pathlib import Path, PurePosixPath, PureWindowsPath, PurePath +from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Any, Mapping from infection_monkey.model import VictimHost diff --git a/monkey/infection_monkey/network_scanning/http_fingerprinter.py b/monkey/infection_monkey/network_scanning/http_fingerprinter.py index 25e96d4a2..4c738e1ba 100644 --- a/monkey/infection_monkey/network_scanning/http_fingerprinter.py +++ b/monkey/infection_monkey/network_scanning/http_fingerprinter.py @@ -1,8 +1,8 @@ import logging from contextlib import closing -from typing import Dict, Iterable, Optional, Set, Tuple, Any +from typing import Any, Dict, Iterable, Optional, Set, Tuple -from requests import head, Response +from requests import head from requests.exceptions import ConnectionError, Timeout from infection_monkey.i_puppet import (