From da750f9fa0d26c7d8b297ba5c82a7e4a894de75c Mon Sep 17 00:00:00 2001 From: Evan Derickson <3587185+dericke@users.noreply.github.com> Date: Sun, 29 Nov 2020 14:58:03 -0800 Subject: [PATCH] Moving stdlib import above contrib imports --- fastkml/geometry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastkml/geometry.py b/fastkml/geometry.py index 796eed14..e8aeba9a 100644 --- a/fastkml/geometry.py +++ b/fastkml/geometry.py @@ -19,6 +19,8 @@ Import the geometries from shapely if it is installed or otherwise from Pygeoif """ +import re + try: from shapely.geometry import Point, LineString, Polygon from shapely.geometry import MultiPoint, MultiLineString, MultiPolygon @@ -40,8 +42,6 @@ from pygeoif.geometry import as_shape as asShape from pygeoif.geometry import GeometryCollection - -import re import fastkml.config as config from .config import etree