From ed1932dfa118a7a4d9e51b297ce45ffbdd7a47b6 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Wed, 25 Apr 2012 08:41:57 +0000 Subject: [PATCH] fixed python version in yet another place. --- modules/python/src2/cv2.cv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/src2/cv2.cv.hpp b/modules/python/src2/cv2.cv.hpp index 0a6d5e2e4..c539f1f0e 100644 --- a/modules/python/src2/cv2.cv.hpp +++ b/modules/python/src2/cv2.cv.hpp @@ -3888,7 +3888,7 @@ PyObject* init_cv() m = Py_InitModule(OLD_MODULESTR, old_methods); d = PyModule_GetDict(m); - PyDict_SetItemString(d, "__version__", PyString_FromString("$Rev: 4557 $")); + PyDict_SetItemString(d, "__version__", PyString_FromString(CV_VERSION)); PyDict_SetItemString(d, "error", opencv_error); // Couple of warnings about strict aliasing here. Not clear how to fix.