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:22:43 UTC

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

Author: jed
Date: Fri Sep 17 19:22:43 2010
New Revision: 998271

URL: http://svn.apache.org/viewvc?rev=998271&view=rev
Log:
Let's just forget I wrote that, OK?

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=998271&r1=998270&r2=998271&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/drivers/linode.py (original)
+++ incubator/libcloud/trunk/libcloud/drivers/linode.py Fri Sep 17 19:22:43 2010
@@ -104,11 +104,7 @@ class LinodeResponse(Response):
         self.objects, self.errors = self.parse_body()
         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")
+            raise self.errors[0]
 
     def parse_body(self):
         """Parse the body of the response into JSON objects