summaryrefslogtreecommitdiff
path: root/jsonschema/_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/_utils.py')
-rw-r--r--jsonschema/_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/_utils.py b/jsonschema/_utils.py
index 10e7bf8..044475c 100644
--- a/jsonschema/_utils.py
+++ b/jsonschema/_utils.py
@@ -3,7 +3,7 @@ import json
import re
import os
-from jsonschema.compat import str_types, urlparse, MutableMapping
+from jsonschema.compat import str_types, MutableMapping, urlsplit
class URIDict(MutableMapping):
@@ -13,7 +13,7 @@ class URIDict(MutableMapping):
"""
def normalize(self, uri):
- return urlparse.urlsplit(uri).geturl()
+ return urlsplit(uri).geturl()
def __init__(self, *args, **kwargs):
self.store = dict()