Blank line needed.
This commit is contained in:
parent
8c1f7619cb
commit
77e5b89a01
|
@ -22,6 +22,7 @@ def harvest_source_delete(context, data_dict):
|
|||
p.toolkit.get_action('package_delete')(context, data_dict)
|
||||
|
||||
if context.get('clear_source', False):
|
||||
|
||||
# We need the id. The name won't work.
|
||||
package_dict = p.toolkit.get_action('package_show')(context, data_dict)
|
||||
|
||||
|
|
|
@ -216,6 +216,7 @@ def harvest_source_index_clear(context, data_dict):
|
|||
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
|
||||
harvest sources to start again fresh.
|
||||
|
||||
:param id: the id of the harvest source to clear
|
||||
:type id: string
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue