Skip to content
Commit 92c79ebd authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Unbreak Python 2 applet loading.

exec() is a function in Py3, but the syntax used in this file does not
allow it for being called as a function in Python 2. Thus, a simple check
is made, calling the right function depending on the Python version.

It will likely not work with Python 3, but however applets are not
supposed to in the first place.

CCMAIL: release-team@kde.org
CCMAIL: kde-packager@kde.org

(cherry picked from commit 14f7b6a1)
parent 4f3e55f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment