From 5496ee881805d3f32aa4b13a337e515be4436bd6 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 13 Jan 2016 09:52:55 +0100 Subject: [PATCH] SBFileError is not used --- patacrep/content/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patacrep/content/__init__.py b/patacrep/content/__init__.py index 6f5eed4b..1a1f6261 100755 --- a/patacrep/content/__init__.py +++ b/patacrep/content/__init__.py @@ -69,7 +69,7 @@ import jinja2 import yaml from patacrep import files, Rx -from patacrep.errors import SBFileError, SharedError +from patacrep.errors import SharedError LOGGER = logging.getLogger(__name__) EOL = '\n' @@ -226,7 +226,7 @@ def render(context, content): def validate_parser_argument(raw_schema): """Check that the parser argument respects the schema - Will raise `SBFileError` if the schema is not respected. + Will raise `ContentError` if the schema is not respected. """ rx_checker = Rx.Factory({"register_core_types": True}) schema = rx_checker.make_schema(yaml.load(raw_schema))