Closed cclauss closed 6 years ago
l is an undefined name in this context. In the error message we want to show the user the original line.
flake8 testing of https://github.com/ros/genmsg on Python 2.7.14
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./src/genmsg/msg_loader.py:206:69: F821 undefined name 'l' raise InvalidMsgSpec("Invalid constant declaration: %s"%l) ^ 1 F821 undefined name 'l
Thank you for the patch.
l is an undefined name in this context. In the error message we want to show the user the original line.
flake8 testing of https://github.com/ros/genmsg on Python 2.7.14
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics