Commit 76cf8211 authored by Marco Clemencic's avatar Marco Clemencic

Fix propagation of StopIteration exception

parent 44b20934
......@@ -1567,8 +1567,11 @@ def applyConfigurableUsers():
# easiest way to fix bug #103803.
# <https://savannah.cern.ch/bugs/?103803>
while True:
yield next(c for c in Configurable.allConfigurables.values()
if c.isApplicable())
try:
yield next(c for c in Configurable.allConfigurables.values()
if c.isApplicable())
except StopIteration:
break
debugApplyOrder = 'GAUDI_DUBUG_CONF_USER' in os.environ
for c in applicableConfUsers():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment