aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-04-17 15:47:30 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-04-22 10:58:15 -0400
commitbb1d7fb7856accdc8b3451e6fd9b3190deaaebe6 (patch)
treeec2cd1f6728cd9d4f5bffef545954628aa0bba83
parent4467b8c39d5e832d6bd5be0d952e290db010249e (diff)
downloadsos-bb1d7fb7856accdc8b3451e6fd9b3190deaaebe6.tar.gz
[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 <jhunsake@redhat.com>
-rw-r--r--sos/collector/sosnode.py10
1 files changed, 9 insertions, 1 deletions
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():