Return-Path: Delivered-To: apmail-ws-tuscany-commits-archive@locus.apache.org Received: (qmail 91658 invoked from network); 28 Feb 2007 12:24:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 12:24:40 -0000 Received: (qmail 934 invoked by uid 500); 28 Feb 2007 12:24:48 -0000 Delivered-To: apmail-ws-tuscany-commits-archive@ws.apache.org Received: (qmail 876 invoked by uid 500); 28 Feb 2007 12:24:48 -0000 Mailing-List: contact tuscany-commits-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-commits@ws.apache.org Received: (qmail 859 invoked by uid 99); 28 Feb 2007 12:24:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 04:24:48 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 04:24:38 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 1B8851A981A; Wed, 28 Feb 2007 04:24:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r512725 - in /incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python: PythonServiceWrapper.cpp sca_module.cpp Date: Wed, 28 Feb 2007 12:24:17 -0000 To: tuscany-commits@ws.apache.org From: ajborley@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070228122418.1B8851A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ajborley Date: Wed Feb 28 04:24:15 2007 New Revision: 512725 URL: http://svn.apache.org/viewvc?view=rev&rev=512725 Log: Fixed stupid bug for ElementTree handling in Python extension (foolish, foolish coding by me.) Modified: incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/PythonServiceWrapper.cpp incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/sca_module.cpp Modified: incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/PythonServiceWrapper.cpp URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/PythonServiceWrapper.cpp?view=diff&rev=512725&r1=512724&r2=512725 ============================================================================== --- incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/PythonServiceWrapper.cpp (original) +++ incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/PythonServiceWrapper.cpp Wed Feb 28 04:24:15 2007 @@ -805,7 +805,7 @@ PyObject* elementTreeIsElementFunc = PyObject_GetAttrString(elementTreeModule, "iselement"); // Call the iselement() function with pValue to check it - PyObject* pIsElement = PyObject_CallFunction(elementTreeIsElementFunc, "O", pValue); + pIsElement = PyObject_CallFunction(elementTreeIsElementFunc, "O", pValue); Py_DECREF(elementTreeIsElementFunc); } Modified: incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/sca_module.cpp URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/sca_module.cpp?view=diff&rev=512725&r1=512724&r2=512725 ============================================================================== --- incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/sca_module.cpp (original) +++ incubator/tuscany/cpp/sca/runtime/extensions/python/src/tuscany/sca/python/sca_module.cpp Wed Feb 28 04:24:15 2007 @@ -319,7 +319,7 @@ PyObject* elementTreeIsElementFunc = PyObject_GetAttrString(elementTreeModule, "iselement"); // Call the iselement() function with pValue to check it - PyObject* pIsElement = PyObject_CallFunction(elementTreeIsElementFunc, "O", param); + pIsElement = PyObject_CallFunction(elementTreeIsElementFunc, "O", param); } if(PyObject_IsTrue(pIsElement) == 1) --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-commits-help@ws.apache.org