Skip to content

Commit c7aee9e

Browse files
committed
Validator does not check annotationProperty bindings #82
1 parent 2371372 commit c7aee9e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/dosdp/validator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,10 @@ def test_annotation_properties(pattern):
213213
expr = parse('annotations.[*].annotationProperty')
214214
used_annotations = [match for match in expr.find(pattern)]
215215

216-
print(declared_annotations)
217216
stat = True
218217
if used_annotations:
219218
for annotation_prop in used_annotations:
220219
val = annotation_prop.value
221-
print(val)
222220
if val not in declared_annotations:
223221
warnings.warn("Annotation property '%s' didn't declared before use." % val)
224222
stat = False

0 commit comments

Comments
 (0)