projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updating python dependencies
[osm/osmclient.git]
/
osmclient
/
sol005
/
http.py
diff --git
a/osmclient/sol005/http.py
b/osmclient/sol005/http.py
index
1b47204
..
4234fc8
100644
(file)
--- a/
osmclient/sol005/http.py
+++ b/
osmclient/sol005/http.py
@@
-114,6
+114,7
@@
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: