Commit 1a28c927 authored by Christian Ledermann's avatar Christian Ledermann

python 3 does not have a urlparse module

parent a0cdbb8d
......@@ -25,8 +25,10 @@ The complete XML schema for KML is located at
http://schemas.opengis.net/kml/.
"""
import urlparse
try:
import urlparse
except ImportError:
import urllib.parse as urlparse
from .geometry import Point, LineString, Polygon
from .geometry import MultiPoint, MultiLineString, MultiPolygon
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment