Repository: libcloud Updated Branches: refs/heads/trunk fec8af6a4 -> 9908ce12d
[google|compute] Fix unnecessary log warning Commit 5abd001 was causing issues for Ansible users[1], so this change reverts the logging change. [1] https://github.com/ansible/ansible-modules-core/issues/2242 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/9908ce12 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/9908ce12 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/9908ce12 Branch: refs/heads/trunk Commit: 9908ce12d759555ece38d0208391aa4438d2f83c Parents: fec8af6 Author: Eric Johnson <[email protected]> Authored: Thu Mar 24 17:43:36 2016 +0000 Committer: Eric Johnson <[email protected]> Committed: Thu Mar 24 17:43:36 2016 +0000 ---------------------------------------------------------------------- libcloud/common/google.py | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/9908ce12/libcloud/common/google.py ---------------------------------------------------------------------- diff --git a/libcloud/common/google.py b/libcloud/common/google.py index 7378d8e..ca248d5 100644 --- a/libcloud/common/google.py +++ b/libcloud/common/google.py @@ -76,7 +76,6 @@ import base64 import errno import time import datetime -import logging import os import socket import sys @@ -486,10 +485,6 @@ class GoogleServiceAcctAuthConnection(GoogleBaseAuthConnection): key = key['private_key'] except ValueError: key = contents - logger = logging.getLogger(__name__) - logger.warn('%s not in JSON format. This format is ' - 'deprecated. Please download a JSON key ' - 'from the Cloud Console.' % keypath) super(GoogleServiceAcctAuthConnection, self).__init__( user_id, key, *args, **kwargs)
