|
@@ -333,7 +333,7 @@ def create_edge(a, b, **remainder):
|
|
|
|
|
|
def create_value(a, **remainder):
|
|
def create_value(a, **remainder):
|
|
if "value" not in a:
|
|
if "value" not in a:
|
|
- a['value'], = yield [("RV", [a])]
|
|
|
|
|
|
+ a['value'], = yield [("RV", [a['id']])]
|
|
raise PrimitiveFinished({'value': a['value']})
|
|
raise PrimitiveFinished({'value': a['value']})
|
|
|
|
|
|
def read_nr_out(a, **remainder):
|
|
def read_nr_out(a, **remainder):
|
|
@@ -422,9 +422,9 @@ def hash(a, **remainder):
|
|
|
|
|
|
def __sleep(a, b, **remainder):
|
|
def __sleep(a, b, **remainder):
|
|
if "value" not in a:
|
|
if "value" not in a:
|
|
- a['value'], = yield [("RV", [a])]
|
|
|
|
|
|
+ a['value'], = yield [("RV", [a['id']])]
|
|
if "value" not in b:
|
|
if "value" not in b:
|
|
- b['value'], = yield [("RV", [b])]
|
|
|
|
|
|
+ b['value'], = yield [("RV", [b['id']])]
|
|
timeout = a['value']
|
|
timeout = a['value']
|
|
interruptable = b['value']
|
|
interruptable = b['value']
|
|
yield [("SLEEP", [timeout, interruptable])]
|
|
yield [("SLEEP", [timeout, interruptable])]
|