libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r998267 - /incubator/libcloud/trunk/libcloud/drivers/linode.py
Date Fri, 17 Sep 2010 19:19:19 GMT
Author: jed
Date: Fri Sep 17 19:19:19 2010
New Revision: 998267

URL: http://svn.apache.org/viewvc?rev=998267&view=rev
Log:
Don't hide MalformedResponseError when it happens

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

Modified: incubator/libcloud/trunk/libcloud/drivers/linode.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/drivers/linode.py?rev=998267&r1=998266&r2=998267&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/linode.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/linode.py Fri Sep 17 19:19:19 2010
@@ -105,6 +105,9 @@ class LinodeResponse(Response):
         if not self.success():
             # Raise the first error, as there will usually only be one
             try: raise self.errors[0]
+            except MalformedResponseError, excp:
+                # pass this one up intact
+                raise
             except: raise LinodeException(0xFA, "Something bad happened")
 
     def parse_body(self):



Mime
View raw message