[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.50-20-gdf38a79

Andreas Beckmann anbe at debian.org
Wed Mar 20 22:04:20 UTC 2013


The following commit has been merged in the piatti branch:
commit 0bad6ead9f3b7794fe8905bb370facd0630ca854
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Mar 9 16:21:37 2013 +0100

    p-s: stop using master-directory
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/piuparts-slave.py b/piuparts-slave.py
index ee792a8..ac568bd 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -74,7 +74,6 @@ class Config(piupartslib.conf.Config):
                 "min-tgz-retry-delay": 21600,
                 "master-host": None,
                 "master-user": None,
-                "master-directory": ".",
                 "master-command": None,
                 "log-file": "piuparts-master.log",
                 "proxy": None,
@@ -159,7 +158,6 @@ class Slave:
         self._from_master = None
         self._master_host = None
         self._master_user = None
-        self._master_directory = "."
         self._master_command = None
         self._section = None
 
@@ -188,10 +186,6 @@ class Slave:
         logging.debug("Setting master user to %s" % user)
         self._master_user = user
 
-    def set_master_directory(self, dir):
-        logging.debug("Setting master directory to %s" % dir)
-        self._master_directory = dir
-
     def set_master_command(self, cmd):
         logging.debug("Setting master command to %s" % cmd)
         self._master_command = cmd
@@ -374,7 +368,6 @@ class Section:
     def _connect_to_master(self, recycle=False):
         self._slave.set_master_host(self._config["master-host"])
         self._slave.set_master_user(self._config["master-user"])
-        self._slave.set_master_directory(self._config["master-directory"])
         self._slave.set_master_command(self._config["master-command"])
         self._slave.set_section(self._config.section)
         self._slave.connect_to_master(self._config["log-file"])

-- 
piuparts git repository



More information about the Piuparts-commits mailing list