aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-10-18 00:33:12 +0000
committerjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-10-18 00:33:12 +0000
commitce816a536ca0f733b8e4dfdc427ffc2a8117bf52 (patch)
tree9cb59dff306f14126c8c8dcb54a1197227129837 /src/sosreport
parentec113ecb008e2fdea0b2180648c10ee14bc20342 (diff)
downloadsos-ce816a536ca0f733b8e4dfdc427ffc2a8117bf52.tar.gz
Starting to revamp how we send data up to make it more modular and isolate it from data collection.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@55 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sosreport b/src/sosreport
index 998f3653..a8c821d2 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -133,6 +133,7 @@ def sosreport():
for path in paths:
if path.strip()[-len("site-packages"):] == "site-packages":
pluginpath = path + "/sos/plugins"
+ reporterpath = path + "/sos/reporters"
# Set up common info and create destinations
@@ -312,8 +313,11 @@ def sosreport():
logfd.close()
# Call the postproc method for each plugin
- for plugname, plug in loadedplugins:
- root = plug.postproc(dstroot)
+ # Need to redo this completely to use only one selected reporter module
+ # This will require hackery and demagaugery, so for now, we'll just
+ # do something really offensively squinky.
+ import sos.reporters.tarball
+ sos.reporters.tarball.postproc()
if root == dstroot:
print "The report is in " + rptdir + "/" + "sosreport.html"