5490e0a
Replace assert statements with if+raise Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>