Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ckanext-odsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open-Data
ckanext-odsh
Commits
b02664af
Commit
b02664af
authored
4 years ago
by
Jesper Zedlitz
Browse files
Options
Downloads
Patches
Plain Diff
alle DCAT-AP.de Versionen berücksichtigen
parent
44f0f037
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!17
Stage System soll in Zukunft Master Branch erhalten
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ckanext/odsh/profiles/odsh_dcat_de_profile.py
+2
-2
2 additions, 2 deletions
ckanext/odsh/profiles/odsh_dcat_de_profile.py
with
2 additions
and
2 deletions
ckanext/odsh/profiles/odsh_dcat_de_profile.py
+
2
−
2
View file @
b02664af
...
...
@@ -6,7 +6,7 @@ import ckan.model as model
from
ckanext.dcat.profiles
import
DCT
from
ckanext.dcat.utils
import
resource_uri
import
ckanext.dcatde.dataset_utils
as
ds_utils
from
ckanext.dcatde.profiles
import
DCATdeProfile
,
DCATDE
,
DCAT
,
DCATDE_1_0
from
ckanext.dcatde.profiles
import
DCATdeProfile
,
DCATDE
,
DCAT
,
DCATDE_1_0
,
DCATDE_1_0_1
,
DCATDE_1_0_2
import
ckanext.odsh.helpers_tpsh
as
helpers_tpsh
import
ckanext.odsh.collection.helpers
as
helpers_collection
...
...
@@ -35,7 +35,7 @@ class ODSHDCATdeProfile(DCATdeProfile):
for
resource_dict
in
dataset_dict
.
get
(
'
resources
'
,
[]):
# Match distribution in graph and distribution in ckan-dict
if
unicode
(
distribution
)
==
resource_uri
(
resource_dict
):
for
namespace
in
[
DCATDE
,
DCATDE_1_0
]:
for
namespace
in
[
DCATDE
,
DCATDE_1_0
,
DCATDE_1_0_1
,
DCATDE_1_0_2
]:
value
=
self
.
_object_value
(
distribution
,
namespace
.
licenseAttributionByText
)
if
value
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment