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-03 12:43:30 +0100 |
commit | 1561970e88c988cc8e8d6626749777c1bbd8123e (patch) | |
tree | c3a9fff8bf578eac140dc69a747e777e78e45ece /scripts/lib/wic/plugins/source/bootimg-pcbios.py | |
parent | e7287e5157eb8a1486b8896ae4c9a050b86562c7 (diff) | |
download | poky-1561970e88c988cc8e8d6626749777c1bbd8123e.tar.gz |
wic: fix pylint warning redefined-builtin
Renamed variables named as Python builtin functions.
(From OE-Core rev: bed98142e3e47ac2862ccf8fe3e4bdeabfc91172)
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/bootimg-pcbios.py')
-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): | |||
127 | 'prepares' the partition to be incorporated into the image. | 127 | 'prepares' the partition to be incorporated into the image. |
128 | In this case, prepare content for legacy bios boot partition. | 128 | In this case, prepare content for legacy bios boot partition. |
129 | """ | 129 | """ |
130 | def _has_syslinux(dir): | 130 | def _has_syslinux(dirname): |
131 | if dir: | 131 | if dirname: |
132 | syslinux = "%s/syslinux" % dir | 132 | syslinux = "%s/syslinux" % dirname |
133 | if os.path.exists(syslinux): | 133 | if os.path.exists(syslinux): |
134 | return True | 134 | return True |
135 | return False | 135 | return False |