#818, Propset Rev
This commit is contained in:
parent
6004687563
commit
d2d52c7310
@ -3989,7 +3989,7 @@ void initcv()
|
|||||||
m = Py_InitModule(MODULESTR"", methods);
|
m = Py_InitModule(MODULESTR"", methods);
|
||||||
d = PyModule_GetDict(m);
|
d = PyModule_GetDict(m);
|
||||||
|
|
||||||
PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev: 3057 $"));
|
PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev$"));
|
||||||
|
|
||||||
opencv_error = PyErr_NewException((char*)MODULESTR".error", NULL, NULL);
|
opencv_error = PyErr_NewException((char*)MODULESTR".error", NULL, NULL);
|
||||||
PyDict_SetItemString(d, "error", opencv_error);
|
PyDict_SetItemString(d, "error", opencv_error);
|
||||||
|
Loading…
Reference in New Issue
Block a user