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:
parent
d079f0fa95
commit
81b129dd81
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue