Commit 4d02a5c
committed
boot-utils: Use main() to avoid pylint redefined-outer-name warnings
************* Module boot-qemu
boot-qemu.py:85:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:104:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:133:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:160:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:170:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:182:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:264:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:280:12: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
boot-qemu.py:737:8: W0621: Redefining name 'msg' from outer scope (line 865) (redefined-outer-name)
************* Module rebuild
buildroot/rebuild.py:67:12: W0621: Redefining name 'msg' from outer scope (line 175) (redefined-outer-name)
buildroot/rebuild.py:116:16: W0621: Redefining name 'msg' from outer scope (line 175) (redefined-outer-name)
buildroot/rebuild.py:122:8: W0621: Redefining name 'msg' from outer scope (line 175) (redefined-outer-name)
buildroot/rebuild.py:175:8: C0103: Constant name "msg" doesn't conform to UPPER_CASE naming style (invalid-name)
Signed-off-by: Nathan Chancellor <nathan@kernel.org>1 parent a6474b4 commit 4d02a5c
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
861 | | - | |
| 861 | + | |
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
0 commit comments