diff options
-rw-r--r-- | sos/policies/osx.py | 20 |
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 : |