To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 3b3b3d70 authored by Stefan Marr's avatar Stefan Marr
Browse files

Block>>#restart primitive now uses control flow exception


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 14448cdf
from som.interpreter.control_flow import RestartLoopException
from som.primitives.primitives import Primitives
from som.vmobjects.primitive import Primitive
def _restart(ivkbl, frame, interpreter):
frame.set_bytecode_index(0)
frame.reset_stack_pointer()
raise RestartLoopException()
class BlockPrimitives(Primitives):
......
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