You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by pq...@apache.org on 2010/08/13 01:29:55 UTC

svn commit: r985039 - /incubator/libcloud/trunk/libcloud/drivers/elastichosts.py

Author: pquerna
Date: Thu Aug 12 23:29:55 2010
New Revision: 985039

URL: http://svn.apache.org/viewvc?rev=985039&view=rev
Log:
Remove unused variables noticed by pyflakes.

Modified:
    incubator/libcloud/trunk/libcloud/drivers/elastichosts.py

Modified: incubator/libcloud/trunk/libcloud/drivers/elastichosts.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/elastichosts.py?rev=985039&r1=985038&r2=985039&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/elastichosts.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/elastichosts.py Thu Aug 12 23:29:55 2010
@@ -21,8 +21,8 @@ import time
 import base64
 
 from libcloud.types import Provider, NodeState, InvalidCredsException
-from libcloud.base import ConnectionUserAndKey, Response, NodeAuthPassword
-from libcloud.base import NodeDriver, NodeSize, Node, NodeLocation
+from libcloud.base import ConnectionUserAndKey, Response
+from libcloud.base import NodeDriver, NodeSize, Node
 from libcloud.base import NodeImage
 
 # JSON is included in the standard library starting with Python 2.6.  For 2.5
@@ -192,8 +192,6 @@ class ElasticHostsResponse(Response):
     
     def parse_error(self):
         error_header = self.headers.get('x-elastic-error', '')
-        message = self.body
-
         return 'X-Elastic-Error: %s (%s)' % (error_header, self.body.strip())
     
 class ElasticHostsNodeSize(NodeSize):