Matching default arguments with OpenStackBaseConnection.

Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f9615879
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f9615879
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f9615879

Branch: refs/heads/trunk
Commit: f9615879317362b31dea7f39241f86bb75f1aaee
Parents: cd38471
Author: utam0k <[email protected]>
Authored: Thu Jun 22 16:50:28 2017 +0900
Committer: utam0k <[email protected]>
Committed: Thu Jun 22 16:50:28 2017 +0900

----------------------------------------------------------------------
 libcloud/common/openstack.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f9615879/libcloud/common/openstack.py
----------------------------------------------------------------------
diff --git a/libcloud/common/openstack.py b/libcloud/common/openstack.py
index c9d8521..b4367c6 100644
--- a/libcloud/common/openstack.py
+++ b/libcloud/common/openstack.py
@@ -415,8 +415,8 @@ class OpenStackDriverMixin(object):
                  ex_force_auth_url=None,
                  ex_force_auth_version=None,
                  ex_force_auth_token=None,
-                 ex_token_scope=None,
-                 ex_domain_name=None,
+                 ex_token_scope=OpenStackIdentityTokenScope.PROJECT,
+                 ex_domain_name='Default',
                  ex_tenant_name=None,
                  ex_force_service_type=None,
                  ex_force_service_name=None,

Reply via email to