tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajbor...@apache.org
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 GMT
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


Mime
View raw message