gecko-dev/testing/mozbase/mozsystemmonitor
Andrew Halberstadt f354075c7a Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood
This is a new issue that gets linted with flake8 3.5.0. Basically you should
never use a blank except: statement.

This will catch all exceptions, including KeyboardInterrupt and SystemExit
(which is likely not intended). If a catch all is needed, use
`except: Exception`.  If you *really* mean to also catch KeyboardInterrupt et
al, use `except: BaseException`.

Of course, being specific is often better than a catch all.

MozReview-Commit-ID: FKx80MLO4RN

--HG--
extra : rebase_source : 7c74a7d0d81f2c984b47aff3a0ee3448b791177b
2018-01-31 14:32:08 -05:00
..
mozsystemmonitor Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal 2017-09-25 22:57:18 -04:00
tests Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal 2017-09-25 22:57:18 -04:00
README.rst
setup.py Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00

================
mozsystemmonitor
================

mozsystemmonitor contains modules for monitoring a running system.

SystemResourceMonitor
=====================

mozsystemmonitor.resourcemonitor.SystemResourceMonitor is class used to
measure system resource usage. It is useful to get a handle on what an
overall system is doing.