def replicationModifyConfig(self, user, cmd, section,
                                setting=None, value=None):
        passwd = config.USERS[user]['password']
        cmd = self.base_cmd % (user, passwd) \
            + " replication configure %s --section %s " % (cmd, section)
        if setting:
            cmd = cmd + " " + setting
        if value:
            cmd = cmd + " " + value
        self.exe(cmd)
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/utils.py/ManageSfUtils.replicationModifyConfig/original