okfn/ckan — pull request #1216 by nigelbabu (2013-09-03 09:23:06+00:00)
Title: resource_delete does not work

`resource_delete` was broken with this commit https://github.com/okfn/ckan/commit/c972c1c02778d484cb22158a0980bf52564a8327. pkg_dict['resources'] is a `list`, not a `dict`, so line 76 will never return `True`.

Accidentally ran into this when testing filestore modifications. This should also go into 2.1.1.

![Programming](http://i.imgur.com/Fy75IvC.gif)