diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-04-25 17:46:31 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-04-25 17:46:31 +0100 |
commit | b9613ed4d4544f8f141ae66e0948648952d49274 (patch) | |
tree | 803afd8cccf3460712bc2692f41052350f3cc7e8 | |
parent | 1ee15f13bed294693aba132c594b0a82533f31be (diff) | |
download | sos-b9613ed4d4544f8f141ae66e0948648952d49274.tar.gz |
Add RHEL7 support to RedHatPolicy.rhel_version()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/policies/redhat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index 7a26d811..d9dc6b3e 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -130,6 +130,8 @@ No changes will be made to system configuration. return 5 elif pkgname[0] == "6": return 6 + elif pkgname[0] == "7": + return 7 except: pass return False |