Skip to content

Commit ff7e87a

Browse files
committed
Fix for flake
1 parent f4c5d40 commit ff7e87a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dummy_cs/tango-pyaml/tango/pyaml/controlsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def __init__(self, cfg: ConfigModel):
2626
print(f"Creating dummy TangoControlSystem: {cfg.name}")
2727

2828
def attach(self, devs: list[DeviceAccess]) -> list[DeviceAccess]:
29-
global DEVICES
3029
newDevs = []
3130
for d in devs:
3231
if d is not None:
3332
full_name = "//" + self._cfg.tango_host + "/" + d._cfg.attribute
33+
global DEVICES
3434
if full_name not in DEVICES:
3535
# Shallow copy the object
3636
newDev = copy.copy(d)

0 commit comments

Comments
 (0)