Revision e46b2bcf snf-pithos-tools/pithos/tools/lib/client.py
b/snf-pithos-tools/pithos/tools/lib/client.py | ||
---|---|---|
692 | 692 |
headers['content_length'] = len(data) |
693 | 693 |
return self.post(path, data, headers=headers, params=params) |
694 | 694 |
|
695 |
def delete_container(self, container, until=None, account=None): |
|
695 |
def delete_container(self, container, until=None, account=None, delimiter=None):
|
|
696 | 696 |
"""deletes a container or the container history until the date provided""" |
697 | 697 |
account = account or self.account |
698 | 698 |
params = {'until':until} if until else {} |
699 |
if delimiter: |
|
700 |
params['delimiter'] = delimiter |
|
699 | 701 |
return OOS_Client.delete_container(self, container, account=account, |
700 | 702 |
params=params) |
701 | 703 |
|
Also available in: Unified diff