summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/scripts/python
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-22 02:02:13 +0100
committerSlávek Banko <[email protected]>2023-01-22 02:02:13 +0100
commit86480e58eafc1fa3486e03155ed34e02b4595a24 (patch)
tree0e8f64c4003ea558e946b7a3347688904b451635 /kexi/plugins/scripting/scripts/python
parent135d005014a1e85295af4e379f026a361537ae5f (diff)
downloadkoffice-86480e58eafc1fa3486e03155ed34e02b4595a24.tar.gz
koffice-86480e58eafc1fa3486e03155ed34e02b4595a24.zip
Drop python2 support in scripts.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kexi/plugins/scripting/scripts/python')
-rwxr-xr-xkexi/plugins/scripting/scripts/python/kexiapp/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/scripting/scripts/python/kexiapp/__init__.py b/kexi/plugins/scripting/scripts/python/kexiapp/__init__.py
index b5224304..28cbdcad 100755
--- a/kexi/plugins/scripting/scripts/python/kexiapp/__init__.py
+++ b/kexi/plugins/scripting/scripts/python/kexiapp/__init__.py
@@ -14,7 +14,7 @@ Dual-licensed under LGPL v2+higher and the BSD license.
try:
import krosskexiapp
-except ImportError, e:
+except ImportError as e:
raise "Import of the Kross KexiApp module failed.\n%s" % e
def get(modulename):