Commit c1edeb9d authored by Gino Tosti's avatar Gino Tosti
Browse files

code cleaning

parent e056e271
......@@ -68,7 +68,7 @@ class ${Assembly}Base(TCL.HardwareDevice.HardwareDevice):
if isinstance(telescopeName, list) == True:
if len(telescopeName) != 0:
for idx in range(0, len(telescopeName)):
self._devices["SCADA/" + telescopeName[idx] + "/"+"${Assembly}"] = ""
self._devices["CONTROL/" + telescopeName[idx] + "/"+"${Assembly}"] = ""
## Component names
if isinstance(componentName, list) == True:
if len(componentName) != 0:
......@@ -82,7 +82,7 @@ class ${Assembly}Base(TCL.HardwareDevice.HardwareDevice):
raise (NameError, "missing telescopeName or componentName")
if telescopeName != None:
self._devices["SCADA/" + telescopeName + "/"+"${Assembly}"] = ""
self._devices["CONTROL/" + telescopeName + "/"+"${Assembly}"] = ""
"""
if componentName != None:
self._devices[componentName] = ""
......
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