mirror of
https://github.com/vale981/SecondaryValue
synced 2025-03-04 16:41:38 -05:00
return -> raise!
This commit is contained in:
parent
6a1896aa84
commit
9f55468de5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue