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/19 20:00:46 UTC
svn commit: r987252 - /incubator/libcloud/trunk/libcloud/types.py
Author: pquerna
Date: Thu Aug 19 18:00:45 2010
New Revision: 987252
URL: http://svn.apache.org/viewvc?rev=987252&view=rev
Log:
you can't concat a type object with a string, so repr it
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=987252&r1=987251&r2=987252&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/types.py (original)
+++ incubator/libcloud/trunk/libcloud/types.py Thu Aug 19 18:00:45 2010
@@ -92,7 +92,7 @@ class MalformedResponseError(LibcloudErr
self.driver = driver
self.body = body
def __str__(self):
- return "<MalformedResponseException in "+ self.driver +" "+ repr(self.value) +">: "+ repr(self.body)
+ return "<MalformedResponseException in "+ repr(self.driver) +" "+ repr(self.value) +">: "+ repr(self.body)
class InvalidCredsError(LibcloudError):
"""Exception used when invalid credentials are used on a provider."""