aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-05-11 15:17:19 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-05-11 15:17:19 +0200
commitdcd004f0735cc9ee8c4cb758fb117ed1d0bba522 (patch)
tree88bba7b492d968d3db2fdf67daff33861e12415e
parent0149fcfa2bd9ac8c9f6b05851f7264f005aa2305 (diff)
downloadee-python-dcd004f0735cc9ee8c4cb758fb117ed1d0bba522.tar.gz
ee-python-dcd004f0735cc9ee8c4cb758fb117ed1d0bba522.tar.bz2
ee-python-dcd004f0735cc9ee8c4cb758fb117ed1d0bba522.tar.xz
ee-python-dcd004f0735cc9ee8c4cb758fb117ed1d0bba522.zip
drawio: removing debugging output.
-rw-r--r--src/ee/drawio.py13
1 files changed, 0 insertions, 13 deletions
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()