From dcd004f0735cc9ee8c4cb758fb117ed1d0bba522 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 11 May 2019 15:17:19 +0200 Subject: drawio: removing debugging output. --- src/ee/drawio.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src') diff --git a/src/ee/drawio.py b/src/ee/drawio.py index b079979..a3112d3 100644 --- a/src/ee/drawio.py +++ b/src/ee/drawio.py @@ -160,8 +160,6 @@ def to_parts(in_path: Path, out_path: Path, part_dbs: List[Path]): return def add_part(o: GraphObject): - print("obj: {}".format(o.value)) - p = find_part(o) uri = p.uri if p else None @@ -176,16 +174,6 @@ def to_parts(in_path: Path, out_path: Path, part_dbs: List[Path]): sub_part = add_part(out.target) ap.add_sub_part(sub_part) - # description = out.target.value - # print(" out: {}".format(description)) - # - # p = find_part(out.target) - # - # if p is None: - # continue - # - # ap.add_sub_part(p.uri) - return ap for part_db in part_dbs: @@ -193,7 +181,6 @@ def to_parts(in_path: Path, out_path: Path, part_dbs: List[Path]): parts.add(Part(xml)) doc = etree.parse(str(in_path)) - print(doc) graph = load_graph(doc) db = PartDb() -- cgit v1.2.3