return -> raise!

This commit is contained in:
Valentin Boettcher 2019-05-13 11:48:57 +02:00
parent 6a1896aa84
commit 9f55468de5

View file

@ -141,7 +141,7 @@ class SecondaryValue:
# check for missing symbols
if not self._symbols <= set(kwargs.keys()):
return RuntimeError('Missing symbols: ' +
raise RuntimeError('Missing symbols: ' +
(self._symbols - set(kwargs.keys())).__str__())
# filter out unneeded