fix to work with python 2.6
authorMike Izbicki <mike@izbicki.me>
Fri, 2 Jan 2015 22:41:44 +0000 (14:41 -0800)
committerMike Izbicki <mike@izbicki.me>
Fri, 2 Jan 2015 22:41:44 +0000 (14:41 -0800)
commitac47c0c624fade8a83e4df7df0da7e55966c10f3
tree3bc68f95bd1434a01544172e6db11bce61a3197d
parent6cb93445e1a629e1a134c35e740d627cad64126a
fix to work with python 2.6

I had to make this modification locally to get opencv to build with python 2.6.  Python 2.6 requires indices in the format string (the `0` I added).  This requirement was relaxed in 2.7, so what used to be there would be working for people who could upgrade. I don't think the change has any negative consequences for future python versions, but I'm no expert.
modules/python/src2/gen2.py