You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by je...@apache.org on 2010/09/17 21:19:19 UTC

svn commit: r998267 - /incubator/libcloud/trunk/libcloud/drivers/linode.py

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):