Skip to content

Commit

Permalink
[#2578] Fix package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 30, 2012
1 parent d1ae6e5 commit e947a25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ckan/controllers/package.py
Expand Up @@ -455,12 +455,12 @@ def new(self, data=None, errors=None, error_summary=None):
return self._save_new(context)

data = data or clean_dict(unflatten(tuplize_dict(parse_params(
request.POST, ignore_keys=CACHE_PARAMETERS))))
request.params, ignore_keys=CACHE_PARAMETERS))))
c.resources_json = json.dumps(data.get('resources', []))
# convert tags if not supplied in data
if data and not data.get('tag_string'):
data['tag_string'] = ', '.join(
h.dict_list_reduce(data['tags'], 'name'))
h.dict_list_reduce(data.get('tags', {}), 'name'))

errors = errors or {}
error_summary = error_summary or {}
Expand Down
2 changes: 1 addition & 1 deletion doc/_themes/sphinx-theme-okfn
Submodule sphinx-theme-okfn updated 3 files
+1 −3 README.markdown
+0 −5 localtoc.html
+1 −7 static/bootstrap-sphinx.css

0 comments on commit e947a25

Please sign in to comment.