From bb1d7fb7856accdc8b3451e6fd9b3190deaaebe6 Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Fri, 17 Apr 2020 15:47:30 -0400 Subject: [sosnode] Explicitly import all exceptions Following flake8 review, replace the * import of exceptions, and instead explicitly import each exception used in sosnode. Signed-off-by: Jake Hunsaker --- sos/collector/sosnode.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sos/collector/sosnode.py b/sos/collector/sosnode.py index 4fef90a8..08952cc7 100644 --- a/sos/collector/sosnode.py +++ b/sos/collector/sosnode.py @@ -19,7 +19,15 @@ import shutil from distutils.version import LooseVersion from pipes import quote from sos.policies import load, InitSystem -from sos.collector.exceptions import * +from sos.collector.exceptions import (InvalidPasswordException, + TimeoutPasswordAuthException, + PasswordRequestException, + AuthPermissionDeniedException, + ConnectionException, + CommandTimeoutException, + ConnectionTimeoutException, + ControlSocketMissingException, + UnsupportedHostException) class SosNode(): -- cgit