nicolargo/pymdstat — pull request #2 by asergi (2014-12-23 15:32:06+00:00)
Title: Handle I/O error if /proc/mdstat doesn't exist

```python
>>> from pymdstat import MdStat
>>> md = MdStat()
Traceback (most recent call last):
File "", line 1, in
File "pymdstat/pymdstat.py", line 24, in __init__
self.stats = self.load()
File "pymdstat/pymdstat.py", line 81, in load
with open(self.get_path(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/proc/mdstat'
```