#818, Propset Rev

This commit is contained in:
James Bowman 2011-01-19 00:22:02 +00:00
parent 6004687563
commit d2d52c7310

View File

@ -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);