Commit 0e4276ac authored by Grégory Wisniewski's avatar Grégory Wisniewski

Add missing helper method.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1537 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6535cb41
......@@ -88,6 +88,9 @@ class Node(object):
def isRunning(self):
return self._state == NodeStates.RUNNING
def isUnknown(self):
return self._state == NodeStates.UNKNOWN
def isTemporarilyDown(self):
return self._state == NodeStates.TEMPORARILY_DOWN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment