aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Quigley <code@bryanquigley.com>2020-07-27 16:50:23 -0700
committerJake Hunsaker <jhunsake@redhat.com>2020-07-30 10:45:36 -0400
commit95d40227e980d32727236764f421127e278fb7ba (patch)
treed2a1297816432d6617869d52a2b1c7b747672050
parent115881b6c761ada944ce043ce91f5e5cb2a8cb11 (diff)
downloadsos-95d40227e980d32727236764f421127e278fb7ba.tar.gz
[policies] remove osx
Hasn't been any osx specific activity in years. Resolves: #2166 Signed-off-by: Bryan Quigley <code@bryanquigley.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/policies/osx.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/sos/policies/osx.py b/sos/policies/osx.py
deleted file mode 100644
index 434db007..00000000
--- a/sos/policies/osx.py
+++ /dev/null
@@ -1,20 +0,0 @@
-from sos.policies import Policy
-from sos.utilities import shell_out
-
-
-class OSXPolicy(Policy):
-
- distro = "Mac OS X"
-
- @classmethod
- def check(cls, remote=''):
-
- if remote:
- return cls.distro in remote
-
- try:
- return "Mac OS X" in shell_out("sw_vers")
- except Exception:
- return False
-
-# vim: set et ts=4 sw=4 :