GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit 116b4798 authored by Stefan Marr's avatar Stefan Marr

Fix implementation of std_print

And make prints robust to msg being None
Signed-off-by: 's avatarStefan Marr <>
parent 12ce8230
......@@ -589,16 +589,16 @@ class Universe(object):
return result
def error_print(msg):
os.write(2, msg)
os.write(2, msg or "")
def error_println(msg = ""):
os.write(2, msg + "\n")
def std_print(msg):
print msg,
os.write(1, msg or "")
def std_println(msg=""):
print msg
def std_println(msg = ""):
os.write(1, msg + "\n")
def main(args):
u = Universe()
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