WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit d831dfd3 authored by Stefan Marr's avatar Stefan Marr
Browse files

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