kkaempf/cmpi-bindings — pull request #13 by miminar (2013-03-14 16:33:24+00:00)
Title: Access to CMPIContext through ContextWrap.

Hello,

I've come into this issue with ContextWrap class. According to this snippet from `swig/cmpi_types.i:1623`:
```c
TARGET_THREAD_BEGIN_BLOCK;
tdata = data_data(&data);
#if defined (SWIGPYTHON)
result = PyTuple_New(2);
PyTuple_SetItem(result, 0, PyString_FromString(name));
PyTuple_SetItem(result, 1, tdata);
#else
result = Target_SizedArray(2);
Target_Append(result, Target_String(name));
Target_Append(result, tdata);
#endif
```
The data attribute comes as second after the name. I've tested this under tog-pegasus but haven't checked the other bindings.