[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.50-90-g8664feb

Andreas Beckmann anbe at debian.org
Sat Apr 13 14:09:38 UTC 2013


The following commit has been merged in the develop branch:
commit 280807d3adf7feb45d81a94e8c803b996110eb8e
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Apr 8 02:13:28 2013 +0200

    p-s: don't pass command line arguments to master
    
    superseded by the "section" command
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piuparts-slave.py b/piuparts-slave.py
index 0f2d1a3..5cbfba5 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -203,13 +203,10 @@ class Slave:
             ssh_command.extend(["-l", self._master_user])
         ssh_command.append(self._master_host)
         ssh_command.append(self._master_command)
-        ssh_command.append(self._section)
         p = subprocess.Popen(ssh_command, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
         self._to_master = p.stdin
         self._from_master = p.stdout
         line = self._readline()
-        if line == "busy\n":
-            raise MasterIsBusy()
         if line != "hello\n":
             raise MasterDidNotGreet()
         self._writeline("section", self._section)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list