Skip to content

Fixed bug in RecMoniConf exposed when datatype not set to Upgrade

Wouter Hulsbergen requested to merge fixrecconf_wh20200702 into master

This fixes an error in the nightly tests for the Alignment project:

 File "/workspace/build/Rec/InstallArea/x86_64-centos7-gcc9-opt/python/RecConf/Configuration.py", line 364, in applyConf
    if seq not in moniDets:
UnboundLocalError: local variable 'moniDets' referenced before assignment

which is because the variable moniDets is only initialized if datatype is set to Upgrade (which happens to be not the default value.)

Edited by Wouter Hulsbergen

Merge request reports

Loading