Skip to content

Commit

Permalink
[#1273] fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Dec 3, 2013
1 parent 62b91b1 commit 9416adc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/lib/dictization/model_dictize.py
Expand Up @@ -149,7 +149,7 @@ def resource_dictize(res, context):
# some urls do not have the protocol this adds http:// to these
url = resource['url']
## for_edit is only called at the times when the dataset is to be edited
## without for_edit the whole qualified resource is returned.
## in the frontend. Without for_edit the whole qualified url is returned.
if resource.get('url_type') == 'upload' and not context.get('for_edit'):
resource_group = model.Session.query(
model.ResourceGroup).get(resource_group_id)
Expand Down
2 changes: 1 addition & 1 deletion doc/filestore.rst
Expand Up @@ -58,7 +58,7 @@ FileStore API
-----------------------

.. versionchanged:: 2.2
The previous API has been depricated although should still work if you where
The previous API has been deprecated although should still work if you where
using local file storage.

The api is part of the resource_create and resource_update action api
Expand Down

0 comments on commit 9416adc

Please sign in to comment.