From 9969aa0722c2cef0393c9520aa6690bfc03c16cf Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Mon, 7 Jul 2014 19:22:21 +0100 Subject: [plugin] remove debug code from Plugin.get_description() Signed-off-by: Bryn M. Reeves --- sos/plugins/__init__.py | 5 ++--- 1 file 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 "" + except: + return "" def check_enabled(self): """This method will be used to verify that a plugin should execute -- cgit