saltstack/salt — pull request #15004 by rallytime (2014-08-14 22:43:20+00:00)
Title: Don't stacktrace with old versions of psutil on certain functions

If you install psutil from apt-get, it's a very old version (0.5.0), which doesn't support the `virtual_memory` and `swap_memory` functions, and stacktraces on those function. This PR adds some version checks for those functions to not stacktrace and skips the affected unit tests.