Skip to content
Snippets Groups Projects
Commit e9158c3a authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-398: update archiving notebook and bug fix

parent 0c3e33b2
No related branches found
No related tags found
1 merge request!161Resolve L2SS-398 "Archiver multi es"
......@@ -300,7 +300,7 @@ class Archiver():
es_list = self.get_subscribers()
for es_name in es_list:
es = DeviceProxy(es_name)
attrs.extend(es.AttributeList)
attrs.extend(list(es.AttributeList or []))
return attrs
def get_subscriber_errors(self,es_name:str = None):
......@@ -315,8 +315,8 @@ class Archiver():
es_list = self.get_subscribers()
for es_name in es_list:
es = DeviceProxy(es_name)
attrs.extend(es.AttributeList)
errs.extend(es.AttributeErrorList)
attrs.extend(list(es.AttributeList or []))
errs.extend(list(es.AttributeErrorList or []))
return dict((a,e) for a,e in zip(attrs,errs) if e) or {}
def get_attribute_errors(self,attribute_name:str):
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment