Merge pull request #2417 from coolo/switch_metrics

Switch metrics to use python3
This commit is contained in:
Stephan Kulow 2020-03-10 12:03:39 +01:00 committed by GitHub
commit d98dd90928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -166,11 +166,11 @@ Requires(pre): shadow
Suggests: grafana
%if 0%{?suse_version} > 1500
Requires: influxdb
Requires: python-influxdb
Requires: python3-influxdb
Requires: telegraf
%else
Suggests: influxdb
Suggests: python-influxdb
Suggests: python3-influxdb
Suggests: telegraf
%endif

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
import argparse
from collections import namedtuple