projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove set_default_params method from client.py
[osm/osmclient.git]
/
osmclient
/
sol005
/
client.py
diff --git
a/osmclient/sol005/client.py
b/osmclient/sol005/client.py
index
70d5c13
..
cd67a87
100644
(file)
--- a/
osmclient/sol005/client.py
+++ b/
osmclient/sol005/client.py
@@
-103,7
+103,7
@@
class Client(object):
self.utils = utils.Utils(http_client, **kwargs)
"""
self.utils = utils.Utils(http_client, **kwargs)
"""
- def get_token(self, pwd_change=
Non
e):
+ def get_token(self, pwd_change=
Fals
e):
self._logger.debug("")
if self._token is None:
postfields_dict = {
self._logger.debug("")
if self._token is None:
postfields_dict = {
@@
-147,12
+147,3
@@
class Client(object):
version = resp.split()[2]
date = resp.split()[4]
return "{} {}".format(version, date)
version = resp.split()[2]
date = resp.split()[4]
return "{} {}".format(version, date)
-
- def set_default_params(self, **kwargs):
- host = kwargs.pop("host", None)
- if host is not None:
- self._host = host
- port = kwargs.pop("port", None)
- if port is not None:
- self._so_port = port
- self._http_client.set_query_admin(**kwargs)