Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined name:: ‘l’ —> “orig_line‘ (#75)
__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 ```
- Loading branch information