Revision f9e723fd pithos/lib/client.py

b/pithos/lib/client.py
356 356
            data = minidom.parseString(data)
357 357
        return data
358 358
    
359
    def retrieve_object_hashmap(self, container, object, params={},
359
    def retrieve_object_hashmap(self, container, object, format='json', params={},
360 360
                        account=None, **headers):
361 361
        """returns the hashmap representing object's data"""
362
        args = locals().copy()
363
        for elem in ['self', 'container', 'object']:
364
            args.pop(elem)
365
        return self.retrieve_object(container, object, format='json', **args)
362
        if not params:
363
            params = {}
364
        params.update({'hashmap':None})
365
        return self.retrieve_object(container, object, params, format, account, **headers)
366 366
    
367 367
    def create_directory_marker(self, container, object, account=None):
368 368
        """creates a dierectory marker"""

Also available in: Unified diff