Commit e57e3c14 authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by blissadm_ID31@bibhelm
Browse files

SPEC config: warning message for tango servers which are not running

parent 90e29af6
......@@ -1125,6 +1125,11 @@ class Generator(object):
db.put_device_property(device['name'], device['properties'])
self.__generate_dserver(dservers)
# Check if servers are running and warn they should be started
for name, server in self.__tango_servers.items():
if not _is_tango_server_running(name):
self._log.warning('%r is not running: Please start it before ' \
'initiating spec %r', name, self.spec_name)
def __generate_dserver(self, dservers):
pass
......
Supports Markdown
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