瀏覽代碼

Remove unnecessary prints

Yentl Van Tendeloo 7 年之前
父節點
當前提交
841487fc80
共有 3 個文件被更改,包括 1 次插入4 次删除
  1. 0 2
      bootstrap/utils.alc
  2. 0 1
      unit/test_all.py
  3. 1 1
      wrappers/modelverse_SCCD.py

+ 0 - 2
bootstrap/utils.alc

@@ -19,9 +19,7 @@ String function JSON_print(model : Element):
 
 
 	while (set_len(keys_m) > 0):
 	while (set_len(keys_m) > 0):
 		v_m = set_pop(keys_m)
 		v_m = set_pop(keys_m)
-		log("Check " + v_m)
 		type = read_type(model["metamodel"], read_type(model, v_m))
 		type = read_type(model["metamodel"], read_type(model, v_m))
-		log("Type: " + type)
 
 
 		if (bool_or(type == "Class", type == "Association")):
 		if (bool_or(type == "Class", type == "Association")):
 			if (bool_not(first)):
 			if (bool_not(first)):

+ 0 - 1
unit/test_all.py

@@ -415,7 +415,6 @@ class TestModelverse(unittest.TestCase):
         count_nodes = 0
         count_nodes = 0
         count_edges = 0
         count_edges = 0
         for entry in element_list_nice("test/PetriNet"):
         for entry in element_list_nice("test/PetriNet"):
-            print(entry)
             assert entry["type"] in ["Node", "Edge"]
             assert entry["type"] in ["Node", "Edge"]
             if entry["type"] == "Node":
             if entry["type"] == "Node":
                 assert len(entry) == 2
                 assert len(entry) == 2

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
 
-Date:   Fri May 25 16:49:54 2018
+Date:   Fri May 25 16:51:39 2018
 
 
 Model author: Yentl Van Tendeloo
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server
 Model name:   MvK Server