Please sign in to comment.
tools: undefined name opts -> args in gyptest.py
``` ./tools/gyp/gyptest.py:61:47: F821 undefined name 'opts' extra_path = [os.path.abspath(p) for p in opts.path] ^ ``` `opts.path` is an undefined name in this context while `args.path` is used on the preceding line and is defined on line 48. Undefined names have the potential to raise `NameError` at runtime which will halt the script. PR-URL: #30144 Reviewed-By: Michaël Zasso <firstname.lastname@example.org> Reviewed-By: Richard Lau <email@example.com> Reviewed-By: Luigi Pinca <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: Trivikram Kamat <firstname.lastname@example.org> Reviewed-By: Jiawen Geng <email@example.com>
- Loading branch information