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 02:36:37 UTC

svn commit: r985054 - /incubator/libcloud/trunk/libcloud/types.py

Author: pquerna
Date: Fri Aug 13 00:36:37 2010
New Revision: 985054

URL: http://svn.apache.org/viewvc?rev=985054&view=rev
Log:
Use self.driver, not an undefined variable in MalformedResponseError.__str__

Modified:
    incubator/libcloud/trunk/libcloud/types.py

Modified: incubator/libcloud/trunk/libcloud/types.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/types.py?rev=985054&r1=985053&r2=985054&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/types.py (original)
+++ incubator/libcloud/trunk/libcloud/types.py Fri Aug 13 00:36:37 2010
@@ -92,7 +92,7 @@ class MalformedResponseError(LibcloudErr
       self.driver = driver
       self.body = body
     def __str__(self):
-        return "<MalformedResponseException in "+ driver +" "+ repr(self.value) +">: "+ repr(self.body)
+        return "<MalformedResponseException in "+ self.driver +" "+ repr(self.value) +">: "+ repr(self.body)
 
 class InvalidCredsError(LibcloudError):
     """Exception used when invalid credentials are used on a provider."""