clean some LOGS

This commit is contained in:
Johann Dreo 2014-05-21 14:31:41 +02:00
commit c35c8d1186
2 changed files with 11 additions and 10 deletions

View file

@ -111,10 +111,8 @@ def merge_nodes( graph, n0, n1, n2 ):
def merge_enclosed( graph, segments ):
"""Merge nodes of the given graph that are on edges that do not intersects with the given segments."""
i=0
LOG("Merge",len(graph),"nodes")
while i < len(graph.keys()):
node = graph.keys()[i]
j=0
altered = False
while j < len(graph[node]):
@ -136,8 +134,6 @@ def merge_enclosed( graph, segments ):
else:
i+=1
LOGN("as",len(graph),"enclosed nodes")
return graph