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()