Repository: libcloud Updated Branches: refs/heads/trunk 72c25dd97 -> 342471bb9
Fix lint. Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/342471bb Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/342471bb Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/342471bb Branch: refs/heads/trunk Commit: 342471bb94938128a32945c52a48ccb3a2062171 Parents: 72c25dd Author: Tomaz Muraus <[email protected]> Authored: Mon Apr 7 10:18:49 2014 -0600 Committer: Tomaz Muraus <[email protected]> Committed: Mon Apr 7 10:18:49 2014 -0600 ---------------------------------------------------------------------- libcloud/compute/drivers/linode.py | 4 ++-- libcloud/test/secrets.py-dist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/342471bb/libcloud/compute/drivers/linode.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/linode.py b/libcloud/compute/drivers/linode.py index 428ce3c..c58f56a 100644 --- a/libcloud/compute/drivers/linode.py +++ b/libcloud/compute/drivers/linode.py @@ -89,8 +89,8 @@ class LinodeNodeDriver(NodeDriver): # Converts Linode's state from DB to a NodeState constant. LINODE_STATES = { - -2: NodeState.UNKNOWN, # Boot Failed - -1: NodeState.PENDING, # Being Created + (-2): NodeState.UNKNOWN, # Boot Failed + (-1): NodeState.PENDING, # Being Created 0: NodeState.PENDING, # Brand New 1: NodeState.RUNNING, # Running 2: NodeState.TERMINATED, # Powered Off http://git-wip-us.apache.org/repos/asf/libcloud/blob/342471bb/libcloud/test/secrets.py-dist ---------------------------------------------------------------------- diff --git a/libcloud/test/secrets.py-dist b/libcloud/test/secrets.py-dist index 2195b33..773a2c2 100644 --- a/libcloud/test/secrets.py-dist +++ b/libcloud/test/secrets.py-dist @@ -23,7 +23,7 @@ EC2_PARAMS = ('access_id', 'secret') ECP_PARAMS = ('user_name', 'password') GANDI_PARAMS = ('user',) GCE_PARAMS = ('email_address', 'key') # Service Account Authentication -#GCE_PARAMS = ('client_id', 'client_secret') # Installed App Authentication +# GCE_PARAMS = ('client_id', 'client_secret') # Installed App Authentication GCE_KEYWORD_PARAMS = {'project': 'project_name'} HOSTINGCOM_PARAMS = ('user', 'secret') IBM_PARAMS = ('user', 'secret')
