diff options
author | jwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-10-18 00:33:12 +0000 |
---|---|---|
committer | jwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-10-18 00:33:12 +0000 |
commit | ce816a536ca0f733b8e4dfdc427ffc2a8117bf52 (patch) | |
tree | 9cb59dff306f14126c8c8dcb54a1197227129837 | |
parent | ec113ecb008e2fdea0b2180648c10ee14bc20342 (diff) | |
download | sos-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
-rw-r--r-- | src/lib/sos/reporters/tarball.py (renamed from src/lib/sos/plugins/tarball.py) | 0 | ||||
-rwxr-xr-x | src/sosreport | 8 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/tarball.py b/src/lib/sos/reporters/tarball.py index 4162951a..4162951a 100644 --- a/src/lib/sos/plugins/tarball.py +++ b/src/lib/sos/reporters/tarball.py 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" |