This is an automated email from the ASF dual-hosted git repository. amagyar pushed a commit to branch branch-2.7 in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push: new dc1d5cc AMBARI-24344: Upgrade Infra Solr client operation fails for Ubuntu while running migration script for solr upgrade (#1873) dc1d5cc is described below commit dc1d5ccac4677175b89dcdd4b7dd99d2a481e337 Author: jasmeen19 <33417546+jasmee...@users.noreply.github.com> AuthorDate: Wed Jul 25 17:24:00 2018 +0530 AMBARI-24344: Upgrade Infra Solr client operation fails for Ubuntu while running migration script for solr upgrade (#1873) --- .../src/main/python/ambari_commons/repo_manager/apt_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py index 95a52a9..2136375 100644 --- a/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py +++ b/ambari-common/src/main/python/ambari_commons/repo_manager/apt_manager.py @@ -29,10 +29,10 @@ from resource_management.core.logger import Logger def replace_underscores(function_to_decorate): - def wrapper(*args): + def wrapper(*args, **kwargs): self = args[0] name = args[1].replace("_", "-") - return function_to_decorate(self, name, *args[2:]) + return function_to_decorate(self, name, *args[2:], **kwargs) return wrapper