"""
-from nepi.execution.resource import ResourceManager, clsinit, ResourceState
+from nepi.execution.resource import ResourceManager, clsinit, ResourceState, \
+ reschedule_delay
from nepi.execution.attribute import Attribute, Flags
from nepi.resources.omf.omf_api import OMFAPIFactory
-reschedule_delay = "0.5s"
@clsinit
class OMFChannel(ResourceManager):
self._state = ResourceState.FAILED
msg = "Credentials are not initialzed. XMPP Connections impossible"
self.debug(msg)
- return
+ raise
else :
msg = "Channel's value is not initialized"
self.error(msg)
def stop(self):
"""Stop the RM. It means nothing special for a channel for now
- It becomes STOPPED as soon as this method stops
+ It becomes STOPPED as soon as this method is called
"""
super(OMFChannel, self).stop()