Remove print statement in magic.py

This commit is contained in:
Matt Guthaus 2018-01-12 14:45:11 -08:00
parent 1b30eb4b64
commit 243097cb33
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ class library_drc_test(unittest.TestCase):
def runTest(self):
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
global verify
import verify
(gds_dir, gds_files) = setup_files()

View File

@ -123,7 +123,7 @@ def run_drc(cell_name, gds_name):
if errors > 0:
for line in results:
if "error tiles" in line:
print line.rstrip("\n")
debug.info(0,line.rstrip("\n"))
debug.error("{0}\tErrors: {1}".format(cell_name, errors))
else:
debug.info(1, "{0}\tErrors: {1}".format(cell_name, errors))