diff options
author | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-04-30 14:17:13 +0000 |
---|---|---|
committer | astokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2010-04-30 14:17:13 +0000 |
commit | b311b4a5828a09fd2570f8eebe9867ef35a5b1df (patch) | |
tree | f4841dfbd8a94bae94c0fef10c76404c5ccf740f | |
parent | af8f34e5bf22685ac4c6e1c76286c204d01061d0 (diff) | |
download | sos-b311b4a5828a09fd2570f8eebe9867ef35a5b1df.tar.gz |
Pull in rhelversion through policy
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@953 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r-- | sos/plugins/s390.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py index 57e7eb5a..8706ba02 100644 --- a/sos/plugins/s390.py +++ b/sos/plugins/s390.py @@ -65,7 +65,7 @@ class s390(sos.plugintools.PluginBase): self.collectExtOutput("/sbin/dasdview -x -i -j -l -f %s" % (x,)) self.collectExtOutput("/sbin/fdasd -p %s" % (x,)) try: - rhelver = self.policy().pkgByName("redhat-release")[1] + rhelver = self.policy().rhelVersion() if rhelver == "5": self.collectExtOutput("/sbin/lsqeth") self.collectExtOutput("/sbin/lszfcp") |