projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 946 - removed unnecessary check for additionalParams
[osm/osmclient.git]
/
osmclient
/
sol005
/
user.py
diff --git
a/osmclient/sol005/user.py
b/osmclient/sol005/user.py
index
689d359
..
64d5c69
100644
(file)
--- a/
osmclient/sol005/user.py
+++ b/
osmclient/sol005/user.py
@@
-140,7
+140,7
@@
class User(object):
if not update_user:
raise ClientException("At least something should be changed.")
if not update_user:
raise ClientException("At least something should be changed.")
- http_code, resp = self._http.p
ut
_cmd(endpoint='{}/{}'.format(self._apiBase, myuser['_id']),
+ http_code, resp = self._http.p
atch
_cmd(endpoint='{}/{}'.format(self._apiBase, myuser['_id']),
postfields_dict=update_user)
# print('HTTP CODE: {}'.format(http_code))
# print('RESP: {}'.format(resp))
postfields_dict=update_user)
# print('HTTP CODE: {}'.format(http_code))
# print('RESP: {}'.format(resp))