aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-02-14 11:09:27 -0500
committerJake Hunsaker <jhunsake@redhat.com>2022-02-14 16:00:29 -0500
commit9a96073e50e50eaa5308f42c96c133aa5cece5d9 (patch)
treee2661a5c930088be19abf8d914c652d9974b2269
parentf22efe044f1f0565b57d6aeca2081a5227e0312c (diff)
downloadsos-9a96073e50e50eaa5308f42c96c133aa5cece5d9.tar.gz
[report] Remove useless inclusion of tempfile_util in commons
An early implementation of #2729 included expanding `TempFileUtil` and passing it as a means to create temp files to write command output directly to. That approach was abandoned in favor of a more robust implementation, but the cleanup of the previous design was apparently not complete. Fix this by removing the inclusion of tempfile_util in our `commons` dict. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/report/__init__.py b/sos/report/__init__.py
index 55b0cd03..74c7973a 100644
--- a/sos/report/__init__.py
+++ b/sos/report/__init__.py
@@ -532,8 +532,7 @@ class SoSReport(SoSComponent):
'verbosity': self.opts.verbosity,
'cmdlineopts': self.opts,
'devices': self.devices,
- 'namespaces': self.namespaces,
- 'tempfile_util': self.tempfile_util
+ 'namespaces': self.namespaces
}
def get_temp_file(self):