Skip to content

Commit b0e1247

Browse files
committed
Remove incorrect return's
Fixes regression when there's multiple SHACL files
1 parent bfb0f4b commit b0e1247

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ogc/bblocks/validation/rdf.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,6 @@ def validate(self, filename: Path, output_filename: Path, report: ValidationRepo
430430
'focusNodes': focus_nodes_payload,
431431
}
432432
))
433-
return None
434-
return None
435433
except ParseBaseException as e:
436434
if e.args:
437435
query_lines = e.args[0].splitlines()
@@ -452,7 +450,6 @@ def validate(self, filename: Path, output_filename: Path, report: ValidationRepo
452450
'shaclFile': str(shacl_file),
453451
}
454452
))
455-
return None
456453
except ReportableRuntimeError as e:
457454
report.add_entry(ValidationReportEntry(
458455
section=ValidationReportSection.SHACL,
@@ -465,6 +462,4 @@ def validate(self, filename: Path, output_filename: Path, report: ValidationRepo
465462
'shaclFile': str(shacl_file),
466463
}
467464
))
468-
return None
469-
return None
470465
return None

0 commit comments

Comments
 (0)