diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-09-02 13:58:14 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-02 23:46:51 +0100 |
commit | bed98142e3e47ac2862ccf8fe3e4bdeabfc91172 (patch) | |
tree | 739f18228a3269cc80925e2aeabb21a5ef5b3542 /scripts/lib/wic/plugins/source | |
parent | 3644b9f5ca25dfc61d4f5eda0f073c8a879b492b (diff) | |
download | openembedded-core-bed98142e3e47ac2862ccf8fe3e4bdeabfc91172.tar.gz openembedded-core-bed98142e3e47ac2862ccf8fe3e4bdeabfc91172.tar.bz2 openembedded-core-bed98142e3e47ac2862ccf8fe3e4bdeabfc91172.zip |
wic: fix pylint warning redefined-builtin
Renamed variables named as Python builtin functions.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r-- | scripts/lib/wic/plugins/source/bootimg-pcbios.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/bootimg-pcbios.py b/scripts/lib/wic/plugins/source/bootimg-pcbios.py index 721c524970..3c2dbc9d1c 100644 --- a/scripts/lib/wic/plugins/source/bootimg-pcbios.py +++ b/scripts/lib/wic/plugins/source/bootimg-pcbios.py @@ -127,9 +127,9 @@ class BootimgPcbiosPlugin(SourcePlugin): 'prepares' the partition to be incorporated into the image. In this case, prepare content for legacy bios boot partition. """ - def _has_syslinux(dir): - if dir: - syslinux = "%s/syslinux" % dir + def _has_syslinux(dirname): + if dirname: + syslinux = "%s/syslinux" % dirname if os.path.exists(syslinux): return True return False |