Skip to content

Commit

Permalink
fixed indent
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmeyer committed Mar 18, 2019
1 parent 1d51e19 commit a49f345
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions expansion/gen3_expansion.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,14 @@ def delete_uploaded_files(guids,api):
if isinstance(guids, str):
guids = [guids]
if isinstance(guids, list):
for guid in guids:
fence_url = api + 'user/data/'
response = requests.delete(fence_url + guid,auth=auth)
if (response.status_code == 204):
print("Successfully deleted GUID {}".format(guid))
else:
print("Error deleting GUID {}:".format(guid))
print(response.reason)
for guid in guids:
fence_url = api + 'user/data/'
response = requests.delete(fence_url + guid,auth=auth)
if (response.status_code == 204):
print("Successfully deleted GUID {}".format(guid))
else:
print("Error deleting GUID {}:".format(guid))
print(response.reason)



Expand Down

0 comments on commit a49f345

Please sign in to comment.