Skip to content

Commit

Permalink
fix #4941
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 4, 2012
1 parent 0ce442d commit a406a88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/core/qgsexception.sip
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
%Exception QgsCsException(SIP_Exception) /PyName=QgsCsException/
{
%TypeHeaderCode
#include <qgscsexception.h>
%End
%RaiseCode
SIP_BLOCK_THREADS
PyErr_SetString(sipException_QgsCsException, sipExceptionRef.what().toUtf8().constData() );
Expand All @@ -9,6 +12,9 @@

%Exception QgsException(SIP_Exception) /PyName=QgsException/
{
%TypeHeaderCode
#include <qgsexception.h>
%End
%RaiseCode
SIP_BLOCK_THREADS
PyErr_SetString(sipException_QgsException, sipExceptionRef.what().toUtf8().constData() );
Expand Down

0 comments on commit a406a88

Please sign in to comment.