Skip to content

Commit e427435

Browse files
committed
bootloader: Cleanup pylint complaints
Ignore the warning about too many positional arguments since this is part of the existing API. Clean up trailing whitespace. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
1 parent a153417 commit e427435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xcp/bootloader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def setKernelArgs(self, args):
7676
self.kernel_args = ' '.join(args)
7777

7878
class Bootloader(object):
79+
# pylint: disable=too-many-positional-arguments
7980
def __init__(self, src_fmt, src_file, menu = None, menu_order = None,
8081
default = None, timeout = None, serial = None,
8182
location = None, env_block = None):
@@ -150,7 +151,7 @@ def parse_boot_entry(line, skip=1):
150151
entry = parts[skip] if len(parts) > skip else ""
151152
args = parts[skip + 1] if len(parts) > (skip + 1) else ""
152153
return entry, args
153-
154+
154155
fh = open_textfile(src_file, "r")
155156
try:
156157
for line in fh:

0 commit comments

Comments
 (0)