Revision 92c79eb...

Go back to digest for 7th October 2012

Bug Fixes in KDE Base

Luca Beltrame committed changes in [kde-workspace/KDE/4.9] 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.

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




(cherry picked from commit 14f7b6a18ef8a81237df43551ee7bda122827d93)

File Changes

Modified 1 files
  • plasma/generic/scriptengines/python/plasma_importer.py
1 files changed in total