aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-11-22 21:06:54 +0000
committerpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-11-22 21:06:54 +0000
commit57b7a12bc5f1cd86d1d0abe4094624fc93b99f99 (patch)
tree885bdf448225f1180c23ec5d17600c42c3d88862
parent4c371b1dcc5c9ce89b7058e4729460ab7dd123b3 (diff)
downloadsos-57b7a12bc5f1cd86d1d0abe4094624fc93b99f99.tar.gz
Details
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@1028 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--sos/plugintools.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/sos/plugintools.py b/sos/plugintools.py
index 64f19ed6..8aa99600 100644
--- a/sos/plugintools.py
+++ b/sos/plugintools.py
@@ -418,7 +418,6 @@ class PluginBase:
will be displayed on-screen before collection and in the report as well.
"""
self.diagnose_msgs.append(alertstring)
- return
# For adding output
def addAlert(self, alertstring):
@@ -426,15 +425,12 @@ class PluginBase:
will be displayed in the report
"""
self.alerts.append(alertstring)
- return
-
def addCustomText(self, text):
""" Append text to the custom text that is included in the report. This
is freeform and can include html.
"""
- self.customText = self.customText + text
- return
+ self.customText += text
def copyStuff(self):
"""