diff options
-rw-r--r-- | sos/cleaner/archives/__init__.py | 1 | ||||
-rw-r--r-- | sos/collector/clusters/ocp.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sos/cleaner/archives/__init__.py b/sos/cleaner/archives/__init__.py index 86aa8e04..f7c5eb58 100644 --- a/sos/cleaner/archives/__init__.py +++ b/sos/cleaner/archives/__init__.py @@ -292,6 +292,7 @@ class SoSObfuscationArchive(): else: shutil.rmtree(name) self.log_debug("Removing %s" % self.extracted_path) + # pylint: disable-next=deprecated-argument shutil.rmtree(self.extracted_path, onerror=force_delete_file) def extract_self(self): diff --git a/sos/collector/clusters/ocp.py b/sos/collector/clusters/ocp.py index db47cdad..b1ab95c3 100644 --- a/sos/collector/clusters/ocp.py +++ b/sos/collector/clusters/ocp.py @@ -243,7 +243,7 @@ class ocp(Cluster): return 'oc' self.log_info("Local installation of 'oc' not found or is not " "correctly configured. Will use ControlPersist.") - self.ui_log.warn( + self.ui_log.warning( "Preferred transport 'oc' not available, will fallback to SSH." ) if not self.opts.batch: |