From e871c3b14a987e898ae65f9b766726b3ce52864e Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki Date: Mon, 26 Sep 2011 14:04:31 +0300 Subject: [PATCH] client lib create_object appends hashmap parameter incase of detailed (json/xml) resquest --- tools/lib/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/lib/client.py b/tools/lib/client.py index d0c2fc4..52ac0e5 100644 --- a/tools/lib/client.py +++ b/tools/lib/client.py @@ -789,6 +789,8 @@ class Pithos_Client(OOS_Client): args = locals().copy() for elem in ['self', 'container', 'object']: args.pop(elem) + if format != 'text': + params.update({'hashmap':None}) return OOS_Client.create_object(self, container, object, **args) def create_object_using_chunks(self, container, object, -- 1.7.10.4