X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fhttp.py;h=1b4720425f1c6ab1ec06eb4dba53b6a21fe7b464;hb=e6e9ebfa7cc4d9c3d0bda4a2dcab7f337af63baf;hp=4234fc8122721be75ce43d0049662ce3fdd12c6e;hpb=00bc0353583beab960fb853375dc1e8f4a77840d;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/http.py b/osmclient/sol005/http.py index 4234fc8..1b47204 100644 --- a/osmclient/sol005/http.py +++ b/osmclient/sol005/http.py @@ -114,7 +114,6 @@ class Http(http.Http): curl_cmd.setopt(pycurl.CUSTOMREQUEST, "PATCH") curl_cmd.setopt(pycurl.POST, 1) curl_cmd.setopt(pycurl.WRITEFUNCTION, data.write) - if postfields_dict is not None: jsondata = json.dumps(postfields_dict) if "password" in postfields_dict: