Blank line needed.

This commit is contained in:
David Read 2015-11-03 22:23:04 +00:00
parent 8c1f7619cb
commit 77e5b89a01
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ def harvest_source_delete(context, data_dict):
p.toolkit.get_action('package_delete')(context, data_dict) p.toolkit.get_action('package_delete')(context, data_dict)
if context.get('clear_source', False): if context.get('clear_source', False):
# We need the id. The name won't work. # We need the id. The name won't work.
package_dict = p.toolkit.get_action('package_show')(context, data_dict) package_dict = p.toolkit.get_action('package_show')(context, data_dict)

View File

@ -216,6 +216,7 @@ def harvest_source_index_clear(context, data_dict):
Clears all datasets, jobs and objects related to a harvest source, but Clears all datasets, jobs and objects related to a harvest source, but
keeps the source itself. This is useful to clean history of long running keeps the source itself. This is useful to clean history of long running
harvest sources to start again fresh. harvest sources to start again fresh.
:param id: the id of the harvest source to clear :param id: the id of the harvest source to clear
:type id: string :type id: string
''' '''