Commit c4c73fc0 authored by whitlocb's avatar whitlocb

remove debugging printfs

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23786 18c085ea-50e0-402c-830e-de6fd14e8384
parent 4ac1f5dd
......@@ -5039,7 +5039,7 @@ visit_GetEngineList(PyObject *self, PyObject *args)
{
PyErr_Clear();
}
printf("getSimName=%d\n", getSimName);
// Allocate a tuple the with enough entries to hold the engine list.
const stringVector &engines = GetViewerState()->GetEngineList()->GetEngineName();
const stringVector &sims = GetViewerState()->GetEngineList()->GetSimulationName();
......@@ -5047,15 +5047,12 @@ printf("getSimName=%d\n", getSimName);
for(size_t i = 0; i < engines.size(); ++i)
{
PyObject *name = PyString_FromString(engines[i].c_str());
printf("name=%p\n", name);
if(name == NULL)
continue;
if(getSimName != 0)
{
printf("making tuple\n");
PyObject *sim = PyString_FromString(sims[i].c_str());
printf("making tuple2\n");
PyObject *tup = PyTuple_New(2);
PyTuple_SET_ITEM(tup, 0, name);
PyTuple_SET_ITEM(tup, 1, sim);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment