mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 07:53:43 +02:00
Clean up messages.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ def check(check,str):
|
||||
print("ERROR: file {0}: line {1}: {2}".format(os.path.basename(filename),line_number,str))
|
||||
assert 0
|
||||
|
||||
def error(str,return_value):
|
||||
def error(str,return_value=0):
|
||||
(frame, filename, line_number, function_name, lines,
|
||||
index) = inspect.getouterframes(inspect.currentframe())[1]
|
||||
print("ERROR: file {0}: line {1}: {2}".format(os.path.basename(filename),line_number,str))
|
||||
|
||||
Reference in New Issue
Block a user