From 81b129dd81090873b7dfbfc5f146a4c6bb1caea6 Mon Sep 17 00:00:00 2001 From: Neraud Date: Sat, 4 Aug 2018 17:31:20 +0200 Subject: [PATCH] Renamed get_info to print_info --- plugins/git/git_commit_behind | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/git/git_commit_behind b/plugins/git/git_commit_behind index bfbd1fbb..4a837f2c 100755 --- a/plugins/git/git_commit_behind +++ b/plugins/git/git_commit_behind @@ -183,7 +183,7 @@ def execute_git_command(repo_conf, git_command): return check_output(cmd, cwd=repo_conf['path']).decode('utf-8').rstrip() -def get_info(): +def print_info(): if not os.access(conf['git_path'], os.X_OK): print('Git (%s) is missing, or not executable !' % conf['git_path'], file=sys.stderr) @@ -280,4 +280,4 @@ if len(sys.argv) > 1: else: if conf['update_mode'] == 'munin': check_update_repos('munin') - get_info() + print_info()