1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Renamed get_info to print_info

This commit is contained in:
Neraud 2018-08-04 17:31:20 +02:00
parent d079f0fa95
commit 81b129dd81

View file

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