Revision 14f7b6a...
Go back to digest for 16th September 2012Bug Fixes in KDE Base
Luca Beltrame committed changes in [kde-workspace] plasma/generic/scriptengines/python/plasma_importer.py:
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.
Anyone who has Python3 installed, please confirm that it works.
File Changes
Modified 1 files
- plasma/generic/scriptengines/python/plasma_importer.py
1 files changed in total