Skip to content

Commit

Permalink
handle non-file backed datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
pymonger committed Sep 13, 2018
1 parent 6975d98 commit fc22157
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def purge_products(query,component,operation):

#making osaka call to delete product
print 'paramater being passed to osaka.main.rmall: ',best
osaka.main.rmall(best)
if best is not None: osaka.main.rmall(best)

#removing the metadata
hysds_commons.metadata_rest_utils.remove_metadata(es_url,index,es_type,ident,logger)

Expand Down

0 comments on commit fc22157

Please sign in to comment.