Skip to content

Commit

Permalink
[#716] Fix typo in check_data_dict check
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Apr 9, 2013
1 parent ad07692 commit 05bc0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/create.py
Expand Up @@ -120,7 +120,7 @@ def package_create(context, data_dict):
# check_data_dict() is deprecated. If the package_plugin has a
# check_data_dict() we'll call it, if it doesn't have the method we'll
# do nothing.
check_data_dict = getattr(package_plugin, 'check_datadict', None)
check_data_dict = getattr(package_plugin, 'check_data_dict', None)
if check_data_dict:
try:
check_data_dict(data_dict, schema)
Expand Down

0 comments on commit 05bc0be

Please sign in to comment.