You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/11/16 00:22:30 UTC
libcloud git commit: fix error in ARM common libs
Repository: libcloud
Updated Branches:
refs/heads/trunk ce5bdd7b4 -> e4b35391a
fix error in ARM common libs
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e4b35391
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e4b35391
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e4b35391
Branch: refs/heads/trunk
Commit: e4b35391af5d4472a2f43ce44d9920bad64ba464
Parents: ce5bdd7
Author: Anthony Shaw <an...@apache.org>
Authored: Wed Nov 16 11:22:19 2016 +1100
Committer: Anthony Shaw <an...@apache.org>
Committed: Wed Nov 16 11:22:19 2016 +1100
----------------------------------------------------------------------
libcloud/common/azure_arm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e4b35391/libcloud/common/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/common/azure_arm.py b/libcloud/common/azure_arm.py
index 0021682..89b004f 100644
--- a/libcloud/common/azure_arm.py
+++ b/libcloud/common/azure_arm.py
@@ -116,7 +116,7 @@ class AzureResourceManagementConnection(ConnectionUserAndKey):
# Log in again if the token has expired or is going to expire soon
# (next 5 minutes).
if (time.time() + 300) >= int(self.expires_on):
- self.get_token_from_credentials(self)
+ self.get_token_from_credentials()
return super(AzureResourceManagementConnection, self) \
.request(action, params=params,