You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:38:23 UTC
svn commit: r1132077 - /incubator/mesos/trunk/ec2/mesos_ec2.py
Author: benh
Date: Sun Jun 5 08:38:23 2011
New Revision: 1132077
URL: http://svn.apache.org/viewvc?rev=1132077&view=rev
Log:
Don't print rsync command
Modified:
incubator/mesos/trunk/ec2/mesos_ec2.py
Modified: incubator/mesos/trunk/ec2/mesos_ec2.py
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/mesos_ec2.py?rev=1132077&r1=1132076&r2=1132077&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/mesos_ec2.py (original)
+++ incubator/mesos/trunk/ec2/mesos_ec2.py Sun Jun 5 08:38:23 2011
@@ -345,9 +345,8 @@ def deploy_files(conn, root_dir, opts, m
# rsync the whole directory over to the master machine
command = (("rsync -rv -e 'ssh -o StrictHostKeyChecking=no -i %s' " +
"'%s/' 'root@%s:/'") % (opts.identity_file, tmp_dir, active_master))
- print command
subprocess.check_call(command, shell=True)
- # Remove the temp directory
+ # Remove the temp directory we created above
shutil.rmtree(tmp_dir)