diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-06 01:41:17 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-03-06 01:41:17 +0100 |
| commit | 00d4f53298ccd1a6e0b5f8b9f60df82bc746f29f (patch) | |
| tree | 3c4e57b1afcce1db58ca10c4d1ec1aaf52d5ac8e /testsuite.py | |
| parent | 6817b67efeea40288f1ad840141a1c41e03ded9a (diff) | |
Avoid shadowing test_defconfig() 'srcarch' parameter
The 'for' overrode 'srcarch', which is currently harmless, but ugly.
Diffstat (limited to 'testsuite.py')
| -rw-r--r-- | testsuite.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py index a2522e4..3fefb64 100644 --- a/testsuite.py +++ b/testsuite.py @@ -2015,8 +2015,8 @@ def test_defconfig(conf, arch, srcarch): if obsessive: # Collect all defconfigs. This could be done once instead, but it's # a speedy operation comparatively. - for srcarch in os.listdir("arch"): - add_configs_for_arch(srcarch) + for srcarch_ in os.listdir("arch"): + add_configs_for_arch(srcarch_) else: add_configs_for_arch(srcarch) |
