Skip to content

Commit

Permalink
CONFDB.MNT: Remove unnecessary conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandohds564 authored Feb 7, 2024
1 parent a33b3d7 commit 5e98547
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions siriuspy/siriuspy/clientconfigdb/configdb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ def compare_configs(config1, config2, pos_pattern=None, neg_pattern=None):
cf1pvs = {n: v for n, v, t in config1['pvs']}
cf2pvs = {n: v for n, v, t in config2['pvs']}

allpvs = set(cf1pvs.keys() | cf2pvs.keys())
for pv in allpvs:
for pv in cf1pvs.keys() | cf2pvs.keys():
if not pos_re.match(pv) or neg_re.match(pv):
continue
val1 = str(cf1pvs.get(pv, 'Not present'))
Expand Down

0 comments on commit 5e98547

Please sign in to comment.