Skip to content

Commit effe0cf

Browse files
committed
src - Merge pull request DinoTools#28 from gregrs-uk/ignore-bounds
Ignore start and end tags for <bounds>
2 parents b6e2cb1 + 81ed8d1 commit effe0cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

overpy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,9 @@ class OSMSAXHandler(handler.ContentHandler):
988988
SAX parser for Overpass XML response.
989989
"""
990990
#: Tuple of opening elements to ignore
991-
ignore_start = ('osm', 'meta', 'note')
991+
ignore_start = ('osm', 'meta', 'note', 'bounds')
992992
#: Tuple of closing elements to ignore
993-
ignore_end = ('osm', 'meta', 'note', 'tag', 'nd', 'member')
993+
ignore_end = ('osm', 'meta', 'note', 'bounds', 'tag', 'nd', 'member')
994994

995995
def __init__(self, result):
996996
"""

0 commit comments

Comments
 (0)