Commit d831dfd3 authored by Stefan Marr's avatar Stefan Marr

Fix minor issues

Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 68f8274f
......@@ -503,7 +503,7 @@ class Universe(object):
return self.get_global(name)
# Get the block class for blocks with the given number of arguments
result = self._loadClass(name, None)
result = self._load_class(name, None)
# Add the appropriate value primitive to the block class
result.add_instance_primitive(Block.get_evaluation_primitive(number_of_arguments, self))
......
......@@ -54,7 +54,7 @@ class Primitive(Object, Invokable):
# Return an empty primitive with the given signature
def invoke(self, frame, interpreter):
# Write a warning to the screen
universe.println("Warning: undefined primitive " +
universe.std_println("Warning: undefined primitive " +
self.get_signature().get_string() + " called")
# The empty primitives are empty
......
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