Revision d3fd269f pithos/lib/client.py
b/pithos/lib/client.py | ||
---|---|---|
258 | 258 |
def delete_account_metadata(self, meta=[]): |
259 | 259 |
self._delete_metadata('', 'account', meta) |
260 | 260 |
|
261 |
def set_account_groups(self, groups): |
|
262 |
headers = {} |
|
263 |
for key, val in groups.items(): |
|
264 |
headers['X-Account-Group-%s' % key.capitalize()] = val |
|
265 |
self.post('', headers=headers) |
|
266 |
|
|
261 | 267 |
# Storage Container Services |
262 | 268 |
|
263 | 269 |
def _filter(self, l, d): |
Also available in: Unified diff