1
0
Fork 0
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:
Lars Kruse 2015-10-30 05:23:16 +01:00
parent ec55d6cce2
commit 3509d2a6ed

View file

@ -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 $?
""" """