diff --git a/dist/package/openSUSE-release-tools.spec b/dist/package/openSUSE-release-tools.spec index 382146cb..6779d8b3 100644 --- a/dist/package/openSUSE-release-tools.spec +++ b/dist/package/openSUSE-release-tools.spec @@ -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 diff --git a/metrics.py b/metrics.py index 5c528578..8610a282 100755 --- a/metrics.py +++ b/metrics.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import argparse from collections import namedtuple