libcloud-notifications mailing list archives

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

URL: http://svn.apache.org/r1454790
Log:
Return path from the ShellOutSSHClient.put 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=1454790&r1=1454789&r2=1454790&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/ssh.py (original)
+++ libcloud/trunk/libcloud/compute/ssh.py Sun Mar 10 05:10:50 2013
@@ -277,6 +277,7 @@ class ShellOutSSHClient(BaseSSHClient):
 
         cmd = ['echo "%s" %s %s' % (contents, redirect, path)]
         self._run_remote_shell_command(cmd)
+        return path
 
     def delete(self, path):
         cmd = ['rm', '-rf', path]



Mime
View raw message