Skip to content

Commit

Permalink
Doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read authored and smotornyuk committed Jun 16, 2019
1 parent 0470702 commit b76f52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/lib/navl/validators.py
Expand Up @@ -72,8 +72,8 @@ def ignore(key, data, errors, context):
raise StopOnError

def default(default_value):
'''When key is missing or value is 'empty', set it with a default value.
See the code for how 'empty' is defined.'''
'''When key is missing or value is an empty string or None, replace it with
a default value'''

def callable(key, data, errors, context):

Expand Down

0 comments on commit b76f52b

Please sign in to comment.