Skip to content

Commit 0b76655

Browse files
authored
Merge pull request #92 from kapilkd13/master
added a warning message when error is being ignored
2 parents 2114715 + c00ad4c commit 0b76655

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Usage
2727
$ python
2828
>>> import schema_salad
2929

30+
To install from source::
31+
32+
git clone https://github.com/common-workflow-language/schema_salad
33+
cd schema_salad
34+
python setup.py install
35+
36+
3037
Documentation
3138
-------------
3239

schema_salad/ref_resolver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,8 @@ def validate_links(self, document, base_url):
966966
else:
967967
errors.append(sl.makeError("checking item\n%s" % (
968968
validate.indent(unicode(v)))))
969-
969+
else:
970+
_logger.warn( validate.indent(unicode(v)))
970971
if bool(errors):
971972
if len(errors) > 1:
972973
raise validate.ValidationException(

0 commit comments

Comments
 (0)