aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-06-15 15:19:58 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-06-15 15:19:58 +0000
commit7d14d80a5171384064baec59f39dd71ae0111ce7 (patch)
treea15171979d138c40723ccc1ed02b577f866dc545
parent47657d7eed41751dd224f4ca88d691a6d6c0b540 (diff)
downloadsos-7d14d80a5171384064baec59f39dd71ae0111ce7.tar.gz
* Fixed a small typo
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@146 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--src/lib/sos/plugintools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py
index 27203765..8c51fcfc 100644
--- a/src/lib/sos/plugintools.py
+++ b/src/lib/sos/plugintools.py
@@ -328,7 +328,6 @@ class PluginBase:
outfd = open(outfn, "w")
outfd.write(shout)
outfd.close()
- outfn = outfn[len(self.cInfo['cmddir'])+1:]
if len(sherr) > 0:
errfn = outfn + ".err"
outfd = open(errfn, "w")
@@ -338,6 +337,7 @@ class PluginBase:
self.cInfo['soslog'].debug(sherr)
else:
errfn = None
+ outfn = outfn[len(self.cInfo['cmddir'])+1:]
# sosStatus(status)
# save info for later