libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1454791 - /libcloud/trunk/libcloud/compute/ssh.py
Date Sun, 10 Mar 2013 05:12:07 GMT
Author: tomaz
Date: Sun Mar 10 05:12:06 2013
New Revision: 1454791

URL: http://svn.apache.org/r1454791
Log:
Return inside the "delete" method.

Modified:
    libcloud/trunk/libcloud/compute/ssh.py

Modified: libcloud/trunk/libcloud/compute/ssh.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/ssh.py?rev=1454791&r1=1454790&r2=1454791&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/ssh.py (original)
+++ libcloud/trunk/libcloud/compute/ssh.py Sun Mar 10 05:12:06 2013
@@ -211,6 +211,7 @@ class ParamikoSSHClient(BaseSSHClient):
         sftp = self.client.open_sftp()
         sftp.unlink(path)
         sftp.close()
+        return True
 
     def run(self, cmd):
         # based on exec_command()
@@ -282,6 +283,7 @@ class ShellOutSSHClient(BaseSSHClient):
     def delete(self, path):
         cmd = ['rm', '-rf', path]
         self._run_remote_shell_command(cmd)
+        return True
 
     def close(self):
         return True



Mime
View raw message