Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Transparenzportal
ckanext-odsh
Commits
76b305a8
Commit
76b305a8
authored
5 years ago
by
Benjamin Becker
Browse files
Options
Downloads
Patches
Plain Diff
fixes bug odsh_logger
parent
90f8f1c6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ckanext/odsh/plugin.py
+3
-7
3 additions, 7 deletions
ckanext/odsh/plugin.py
with
3 additions
and
7 deletions
ckanext/odsh/plugin.py
+
3
−
7
View file @
76b305a8
...
@@ -3,6 +3,7 @@ import datetime
...
@@ -3,6 +3,7 @@ import datetime
from
dateutil.parser
import
parse
from
dateutil.parser
import
parse
import
json
import
json
import
logging
import
logging
from
multiline_formatter.formatter
import
MultilineMessagesFormatter
import
os
import
os
from
pylons
import
config
from
pylons
import
config
from
routes.mapper
import
SubMapper
from
routes.mapper
import
SubMapper
...
@@ -20,6 +21,7 @@ import ckan.plugins.toolkit as toolkit
...
@@ -20,6 +21,7 @@ import ckan.plugins.toolkit as toolkit
import
ckanext.odsh.helpers
as
odsh_helpers
import
ckanext.odsh.helpers
as
odsh_helpers
import
ckanext.odsh.logic.action
as
action
import
ckanext.odsh.logic.action
as
action
import
ckanext.odsh.validation
as
validation
import
ckanext.odsh.validation
as
validation
from
ckanext.odsh.odsh_logger
import
OdshLogger
log
=
logging
.
getLogger
(
__name__
)
log
=
logging
.
getLogger
(
__name__
)
...
@@ -544,9 +546,3 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
...
@@ -544,9 +546,3 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
score
=
s
score
=
s
if
score
>
0
:
if
score
>
0
:
dict_pkg
[
'
openness
'
]
=
OdshPlugin
.
scores
[
score
-
1
]
dict_pkg
[
'
openness
'
]
=
OdshPlugin
.
scores
[
score
-
1
]
\ No newline at end of file
\ No newline at end of file
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