You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2011/07/04 07:24:42 UTC
svn commit: r1142551 - /libcloud/trunk/libcloud/compute/deployment.py
Author: tomaz
Date: Mon Jul 4 05:24:41 2011
New Revision: 1142551
URL: http://svn.apache.org/viewvc?rev=1142551&view=rev
Log:
Fix chmod argument value which is pased to the sftpclient.put method (should be
octal).
Patch contributed by John Carr and is part of GITHUB-17.
Modified:
libcloud/trunk/libcloud/compute/deployment.py
Modified: libcloud/trunk/libcloud/compute/deployment.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/deployment.py?rev=1142551&r1=1142550&r2=1142551&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/deployment.py (original)
+++ libcloud/trunk/libcloud/compute/deployment.py Mon Jul 4 05:24:41 2011
@@ -106,7 +106,7 @@ class ScriptDeployment(Deployment):
See also L{Deployment.run}
"""
- client.put(path=self.name, chmod=755, contents=self.script)
+ client.put(path=self.name, chmod=0755, contents=self.script)
self.stdout, self.stderr, self.exit_status = client.run(self.name)
if self.delete:
client.delete(self.name)