Repository: incubator-slider Updated Branches: refs/heads/develop c552af880 -> b0a5bb088
Remove extra comma in log statement Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/b0a5bb08 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/b0a5bb08 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/b0a5bb08 Branch: refs/heads/develop Commit: b0a5bb088f7c85baba501c423470193c1cf00cdf Parents: c552af8 Author: tedyu <[email protected]> Authored: Fri Oct 31 20:55:24 2014 -0700 Committer: tedyu <[email protected]> Committed: Fri Oct 31 20:55:24 2014 -0700 ---------------------------------------------------------------------- .../libraries/functions/check_process_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/b0a5bb08/slider-agent/src/main/python/resource_management/libraries/functions/check_process_status.py ---------------------------------------------------------------------- diff --git a/slider-agent/src/main/python/resource_management/libraries/functions/check_process_status.py b/slider-agent/src/main/python/resource_management/libraries/functions/check_process_status.py index ff359de..b491f66 100644 --- a/slider-agent/src/main/python/resource_management/libraries/functions/check_process_status.py +++ b/slider-agent/src/main/python/resource_management/libraries/functions/check_process_status.py @@ -44,14 +44,14 @@ def check_process_status(pid_file): if not pid_file: Logger.warn("pid_file is not valid") else: - Logger.info("pid file does not exist {0}".format(pid_file,)) + Logger.info("pid file does not exist {0}".format(pid_file)) raise ComponentIsNotRunning() with open(pid_file, "r") as f: try: pid = int(f.read()) except: - Logger.debug("Pid file {0} does not exist".format(pid_file,)) + Logger.debug("Pid file {0} does not exist".format(pid_file)) raise ComponentIsNotRunning() if IS_WINDOWS:
