X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osmclient%2Fsol005%2Fpdud.py;h=942516c83734ac3c3de1098cdef0a9c72959fc61;hb=refs%2Fchanges%2F80%2F13880%2F1;hp=e47dadde02122ae42875c0282828d72aa8b83d52;hpb=85c13fc77aa3cfed7ca1b0ed1dfb339dc300201c;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