@@ -423,34 +423,34 @@ def transaction_to_record_infos(self, ioc_info: IocInfo, transaction: CommitTran
423423 ioc_info: Information from the IOC
424424 transaction: transaction from reccaster
425425 """
426- recordInfo : Dict [str , RecordInfo ] = {}
426+ record_infos : Dict [str , RecordInfo ] = {}
427427 for record_id , (record_name , record_type ) in transaction .records_to_add .items ():
428- recordInfo [record_id ] = RecordInfo (pv_name = record_name , record_type = None , info_properties = [], aliases = [])
428+ record_infos [record_id ] = RecordInfo (pv_name = record_name , record_type = None , info_properties = [], aliases = [])
429429 if self .cf_config .record_type_enabled :
430- recordInfo [record_id ].record_type = record_type
430+ record_infos [record_id ].record_type = record_type
431431
432432 for record_id , (record_infos_to_add ) in transaction .record_infos_to_add .items ():
433433 # find intersection of these sets
434- if record_id not in recordInfo :
434+ if record_id not in record_infos :
435435 _log .warning ("IOC: %s: PV not found for recinfo with RID: {record_id}" , ioc_info , record_id )
436436 continue
437437 recinfo_wl = [p for p in self .record_property_names_list if p in record_infos_to_add .keys ()]
438438 if recinfo_wl :
439439 for infotag in recinfo_wl :
440- recordInfo [record_id ].info_properties .append (
440+ record_infos [record_id ].info_properties .append (
441441 CFProperty (infotag , ioc_info .owner , record_infos_to_add [infotag ])
442442 )
443443
444444 for record_id , record_aliases in transaction .aliases .items ():
445- if record_id not in recordInfo :
445+ if record_id not in record_infos :
446446 _log .warning ("IOC: %s: PV not found for alias with RID: %s" , ioc_info , record_id )
447447 continue
448- recordInfo [record_id ].aliases = record_aliases
448+ record_infos [record_id ].aliases = record_aliases
449449
450- for record_id in recordInfo :
450+ for record_id in record_infos :
451451 for epics_env_var_name , cf_prop_name in self .env_vars .items ():
452452 if transaction .client_infos .get (epics_env_var_name ) is not None :
453- recordInfo [record_id ].info_properties .append (
453+ record_infos [record_id ].info_properties .append (
454454 CFProperty (cf_prop_name , ioc_info .owner , transaction .client_infos .get (epics_env_var_name ))
455455 )
456456 else :
@@ -459,7 +459,7 @@ def transaction_to_record_infos(self, ioc_info: IocInfo, transaction: CommitTran
459459 epics_env_var_name ,
460460 ioc_info ,
461461 )
462- return recordInfo
462+ return record_infos
463463
464464 def record_info_by_name (
465465 self , recordInfosByRecordID : Dict [str , RecordInfo ], ioc_info : IocInfo
0 commit comments