We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4c5d40 commit ff7e87aCopy full SHA for ff7e87a
tests/dummy_cs/tango-pyaml/tango/pyaml/controlsystem.py
@@ -26,11 +26,11 @@ def __init__(self, cfg: ConfigModel):
26
print(f"Creating dummy TangoControlSystem: {cfg.name}")
27
28
def attach(self, devs: list[DeviceAccess]) -> list[DeviceAccess]:
29
- global DEVICES
30
newDevs = []
31
for d in devs:
32
if d is not None:
33
full_name = "//" + self._cfg.tango_host + "/" + d._cfg.attribute
+ global DEVICES
34
if full_name not in DEVICES:
35
# Shallow copy the object
36
newDev = copy.copy(d)
0 commit comments