Skip to content
Snippets Groups Projects
Commit 01dcfb72 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Removed redundant validation for cases where license attribution is provided...

Removed redundant validation for cases where license attribution is provided but not required by the license type
parent c84d2169
No related branches found
No related tags found
1 merge request!48Merge dev into master
......@@ -184,10 +184,6 @@ def validate_licenseAttributionByText(key, data, errors, context):
raise toolkit.Invalid(
'licenseAttributionByText: empty not allowed')
if not isByLicense and hasAttribution:
raise toolkit.Invalid(
'licenseAttributionByText: text not allowed for this license')
def known_spatial_uri(key, data, errors, context):
if data.get(('__extras',)) and 'spatial_uri_temp' in data.get(('__extras',)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment