pynag/pynag — pull request #21 by abhinav-upadhyay (2012-10-30 11:06:35+00:00)
Title: The get_hoststatus() and get_servicestatus() methods should raise a ValueError rather than return a ValueError object

As documented in the docstring of the get_hoststatus() and get_servicestatus() methods of the status class in the Parsers module, the methods should raise a ValueError object, but the current behaviour is to return a ValueError object.

Either the docstring needs to be fixed or the code, this pull request is for the latter :)