In python 2.7 and 3.5, the exception is written as: from : https://docs.python.org/3/tutorial/errors.html#handling-exceptions
Hi,I guess that the syntax used here to declare exception instance is relatively old, if i guess, it belongs to python 2.4(on comparing from the documentation given here: https://docs.python.org/2.4/tut/node10.html ).
This could be the reason behind this.except Exception as inst:
On Thu, Dec 8, 2016 at 10:39 PM, <[hidden email]> wrote:
Send Kexi-devel mailing list submissions to
On 9 December 2016 at 00:38, Nitish Dwivedi <[hidden email]> wrote:
Well, it follows this grammar:
We don't know if Priyanshu uses python 3.
Per definition whatever works in 2.x, should work in > 2.x.
But if you have a patch to imporve the script (without porting to 3.x) feel fre to send publish it on http://phabricator.kde.org.
By the way, could you please switch from Digest to receiving regular email on this list?
Digest is not meant for contributors writing to this list, look how misleading topic has this email.
regards, Jaroslaw Staniek
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
: A graphic art and office suite - http://calligra.org
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
|Free forum by Nabble||Edit this page|