Skip to content

Commit

Permalink
import etree from owslib.etree (fixes #82)
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Jul 15, 2024
1 parent d7dd9ab commit eb7fd32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sdi-consistence-check/geometadata.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import xml.etree.ElementTree as etree

from owslib.etree import etree
from owslib.iso import MD_Metadata
from owslib.util import openURL
from requests import HTTPError
Expand Down Expand Up @@ -28,4 +27,4 @@ def __init__(self, mdUrl, mdFormat, creds = Credentials()):
"Unable to parse the %s metadata: %s" % (mdFormat, str(e)))

def getMetadata(self):
return self.md
return self.md

0 comments on commit eb7fd32

Please sign in to comment.