Don't forget self in table_formatter.py
authorcclauss <cclauss@bluewin.ch>
Thu, 3 May 2018 06:24:24 +0000 (08:24 +0200)
committercclauss <cclauss@bluewin.ch>
Thu, 3 May 2018 06:24:24 +0000 (08:24 +0200)
commitde99f53e94d724890677f6b06d2b58e3a8ee3104
tree52fc9e96f2c4fc3cfac5392846b8f2501299cdec
parent60e5e213fde83cfe763f5475449834976a4af06f
Don't forget self in table_formatter.py

__ridx__ is an _undefined name_ in this context but __self.ridx__ is used three other times in this method and nine times in this class.  Undefined names may raise [NameError](https://docs.python.org/3/library/exceptions.html#NameError) at runtime.

flake8 testing of https://github.com/opencv/opencv

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./modules/ts/misc/table_formatter.py:50:23: F821 undefined name 'ridx'
            self.rows[ridx + 1].props = properties
                      ^
```
modules/ts/misc/table_formatter.py