Skip to content

Commit

Permalink
removed superflouous print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
AndGem committed Dec 19, 2019
1 parent b17910e commit 2ebad1e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions osm/xml_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ def __init__(self, parser_helper: WayParserHelper) -> None:
self.current_way: Optional[OSMWay] = None

self.parser_helper = parser_helper
print(self.current_way)
print(self.current_way is not None)

def startElement(self, name: str, attrs: AttributesImpl) -> None:
if name == "way":
Expand All @@ -82,8 +80,6 @@ def startElement(self, name: str, attrs: AttributesImpl) -> None:

elif name == "tag":
if attrs["k"] == "highway":
print(self.current_way)
print(attrs["v"])
self.current_way.highway = attrs["v"]
elif attrs["k"] == "area":
self.current_way.area = attrs["v"]
Expand Down

0 comments on commit 2ebad1e

Please sign in to comment.