summaryrefslogtreecommitdiff
path: root/jsonschema/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/cli.py')
-rw-r--r--jsonschema/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/cli.py b/jsonschema/cli.py
index 1292b1a..d6b9ad9 100644
--- a/jsonschema/cli.py
+++ b/jsonschema/cli.py
@@ -23,7 +23,7 @@ except ImportError:
import attr
from jsonschema.exceptions import SchemaError
-from jsonschema.validators import RefResolver, validator_for
+from jsonschema.validators import _RefResolver, validator_for
warnings.warn(
(
@@ -277,7 +277,7 @@ def run(arguments, stdout=sys.stdout, stderr=sys.stderr, stdin=sys.stdin):
raise _CannotLoadFile()
instances = ["<stdin>"]
- resolver = RefResolver(
+ resolver = _RefResolver(
base_uri=arguments["base_uri"],
referrer=schema,
) if arguments["base_uri"] is not None else None