X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fpdud.py;h=942516c83734ac3c3de1098cdef0a9c72959fc61;hb=refs%2Fchanges%2F30%2F13530%2F6;hp=e47dadde02122ae42875c0282828d72aa8b83d52;hpb=e197f95390c84fa8d6c35d68a592284f55c24a33;p=osm%2Fosmclient.git diff --git a/osmclient/sol005/pdud.py b/osmclient/sol005/pdud.py index e47dadd..942516c 100644 --- a/osmclient/sol005/pdud.py +++ b/osmclient/sol005/pdud.py @@ -118,10 +118,7 @@ class Pdu(object): self._client.get_token() headers = self._client._headers headers["Content-Type"] = "application/yaml" - http_header = [ - "{}: {}".format(key, val) for (key, val) in list(headers.items()) - ] - self._http.set_http_header(http_header) + self._http.set_http_header(headers) if update_endpoint: http_code, resp = self._http.patch_cmd( endpoint=update_endpoint, postfields_dict=pdu