Changeset 1788

Show
Ignore:
Timestamp:
02/21/07 04:00:58 (22 months ago)
Author:
abaumann
Message:

fix reporting of OSyncError exception objects

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/python-module/src/python_module.c

    r1753 r1788  
    225225        if (PyErr_GivenExceptionMatches(pytype, osyncerror)) { 
    226226                /* if it's an OSyncError, just report that up on the context object */ 
    227                 PyObject *obj = PyObject_CallMethod(pyvalue, "report", "OO", pyvalue, pycontext); 
     227                PyObject *obj = PyObject_CallMethod(pyvalue, "report", "O", pycontext); 
    228228                if (!obj) { 
    229229                        PYERR_CLEAR();