libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r917335 - /incubator/libcloud/trunk/libcloud/base.py
Date Mon, 01 Mar 2010 00:33:08 GMT
Author: pquerna
Date: Mon Mar  1 00:33:08 2010
New Revision: 917335

URL: http://svn.apache.org/viewvc?rev=917335&view=rev
Log:
Call run() directly and, and close the ssh client when we are done

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

Modified: incubator/libcloud/trunk/libcloud/base.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/libcloud/base.py?rev=917335&r1=917334&r2=917335&view=diff
==============================================================================
--- incubator/libcloud/trunk/libcloud/base.py (original)
+++ incubator/libcloud/trunk/libcloud/base.py Mon Mar  1 00:33:08 2010
@@ -648,4 +648,6 @@
         if laste is not None:
             raise e
             
-        return kwargs["deploy"](node, client)
+        n = kwargs["deploy"].run(node, client)
+        client.close()
+        return n



Mime
View raw message