aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-07-07 19:22:21 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-07-07 19:22:21 +0100
commit9969aa0722c2cef0393c9520aa6690bfc03c16cf (patch)
tree4ea710845b6ba4b343e9bd2edffee5770682d953
parent5b9acbb0addb420d97dabbf7e93b1b91c84c2c1b (diff)
downloadsos-9969aa0722c2cef0393c9520aa6690bfc03c16cf.tar.gz
[plugin] remove debug code from Plugin.get_description()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 08cabc8d..12b5c70b 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -622,9 +622,8 @@ class Plugin(object):
if hasattr(self, '__doc__') and self.__doc__:
return self.__doc__.strip()
return super(self.__class__, self).__doc__.strip()
- except Exception as e:
- raise e
- #return "<no description available>"
+ except:
+ return "<no description available>"
def check_enabled(self):
"""This method will be used to verify that a plugin should execute