Hi,
Consider following simple code:
from pynag import Model
h = Model.Host.objects.filter(host_name='localhost')
h.set_attribute('notifications_enabled', '0')
h.save()
The above code will produce an output as well on the stdout:
notifications_enabled 0 None
Since pynag is a library, its users would not like to see it producing output directly on stdout, rather this should either be a debug level output, returned as the value of the library function call or captured in an attribute of the object, like Host.error or so.
The users of the library might want to handle the output on stdout themselves and maybe this behavior should be fixed :-)
Thanks