Skip to content

Commit

Permalink
removed quick-fix for swift url
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Apr 28, 2017
1 parent 417cd3d commit 42e82f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hummingbird/processes/wps_spotchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,6 @@ def _handler(self, request, response):
dataset = request.inputs['dataset_opendap'][0].data
elif 'dataset' in request.inputs:
dataset = request.inputs['dataset'][0].file
# TODO: quick fix for swift temp urls
if '?' in dataset:
new_name = dataset.split('?', 1)[0]
os.rename(dataset, new_name)
dataset = new_name
else:
raise Exception("missing dataset to check.")

Expand Down

0 comments on commit 42e82f3

Please sign in to comment.