just a small fix to reset the errorcode and errormessage before execution of a service

This commit is contained in:
Johannes Findeisen 2013-08-14 23:37:49 +02:00
commit 1cde3c40f4

View file

@ -123,6 +123,8 @@ class Service(object):
pass pass
def pre_execute(self, host): def pre_execute(self, host):
self.errorcode = 0
self.errormessage = None
pass pass
def parse_result(self, executionResult): def parse_result(self, executionResult):