예제 #1
0
파일: hosts.py 프로젝트: Httqm/Santoku
 def getCheckInterval(self):
     self._directives = {
         'names'     : self._directivesNames,
         'values'    : self._directivesValues
         }
     return directives.getCheckInterval(self._directives)
예제 #2
0
파일: services.py 프로젝트: Httqm/Santoku
 def getCheckInterval(self):
     if self._hasDirectives:
         return directives.getCheckInterval(self._directivesCsv)
     else:
         return config.defaultHostCheckInterval