mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +00:00
remove python 2 compatibility due to widespread use of "yield from"
This commit is contained in:
parent
ec55d6cce2
commit
3509d2a6ed
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,6 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# This plugin works with the following python interpreters:
|
# This plugin works with the following python interpreters:
|
||||||
# * Python 2
|
|
||||||
# * Python 3
|
# * Python 3
|
||||||
# * micropython
|
# * micropython
|
||||||
#
|
#
|
||||||
|
@ -51,7 +50,7 @@
|
||||||
if which micropython >/dev/null; then
|
if which micropython >/dev/null; then
|
||||||
/usr/bin/micropython "$0" "$@"
|
/usr/bin/micropython "$0" "$@"
|
||||||
else
|
else
|
||||||
python "$0" "$@"
|
python3 "$0" "$@"
|
||||||
fi
|
fi
|
||||||
exit $?
|
exit $?
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue