From 7d14d80a5171384064baec59f39dd71ae0111ce7 Mon Sep 17 00:00:00 2001 From: shnavid Date: Fri, 15 Jun 2007 15:19:58 +0000 Subject: * Fixed a small typo git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@146 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/lib/sos/plugintools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit