diff options
author | sconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-07-17 18:35:09 +0000 |
---|---|---|
committer | sconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2006-07-17 18:35:09 +0000 |
commit | abfe72dbf66581eee17ef1cab556a4d234166068 (patch) | |
tree | 62aefd803a5e3f8628ba03a2ef406eba69bfd445 /src/lib | |
parent | cb11a1182cfa598f78269c835b22b9ecf790efa5 (diff) | |
download | sos-abfe72dbf66581eee17ef1cab556a4d234166068.tar.gz |
Fixed a problem with html links in the report to
output of commands run in plugins, increment release.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@29 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sos/plugintools.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py index 1a0fd9d4..b4aa9cf3 100644 --- a/src/lib/sos/plugintools.py +++ b/src/lib/sos/plugintools.py @@ -278,8 +278,10 @@ class PluginBase: # Command Output if len(self.executedCommands): html = html + "<p>Commands Executed:<br><ul>\n" + # convert file name to relative path from our root for cmd in self.executedCommands: - html = html + '<li><a href="%s">%s</a></li>\n' % (cmd['file'], cmd['exe']) + cmdOutRelPath = sosRelPath(self.cInfo['rptdir'], cmd['file']) + html = html + '<li><a href="%s">%s</a></li>\n' % (cmdOutRelPath, cmd['exe']) html = html + "</ul></p>\n" # Alerts |