aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/s390.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py
index c7210a09..1d308c34 100644
--- a/sos/plugins/s390.py
+++ b/sos/plugins/s390.py
@@ -14,10 +14,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-from sos.plugins import Plugin, RedHatPlugin
+from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin
-class S390(Plugin, RedHatPlugin):
+class S390(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"""IBM S/390
"""
@@ -27,7 +27,7 @@ class S390(Plugin, RedHatPlugin):
# Check for s390 arch goes here
def check_enabled(self):
- return (self.policy().get_arch() == "s390")
+ return ("s390" in self.policy().get_arch())
# Gather s390 specific information