Automagic: Don't hide errors from manual stacker setting

This commit is contained in:
Mike Auty
2020-07-16 11:17:29 +01:00
parent 9e02a1b3c6
commit 79d44edd37
@@ -151,9 +151,6 @@ class LayerStacker(interfaces.automagic.AutomagicInterface):
# Repeatedly apply "determine what this is" code and build as much up as possible
stacked = True
stacked_layers = [initial_layer]
if not stack_set or not len(stack_set):
stack_set = sorted(framework.class_subclasses(interfaces.automagic.StackerLayerInterface),
key = lambda x: x.stack_order)
for stacker in stack_set:
if not issubclass(stacker, interfaces.automagic.StackerLayerInterface):