summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-11-27 22:21:05 +0000
committerJeremy Katz <katzj@redhat.com>2001-11-27 22:21:05 +0000
commit67d31d26a4606abe5efbe7aff5335ca323fd0da8 (patch)
tree80d85e796de9834fd89eb3b328f2ee43998c624c /bootloader.py
parent127e53dfc1bb6813bc134b26223b4641e6fae2e1 (diff)
downloadanaconda-67d31d26a4606abe5efbe7aff5335ca323fd0da8.tar.gz
anaconda-67d31d26a4606abe5efbe7aff5335ca323fd0da8.tar.xz
anaconda-67d31d26a4606abe5efbe7aff5335ca323fd0da8.zip
pychecker fixup... [].append() only takes one argument in python >= 1.6
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader.py b/bootloader.py
index 77e9a6e2c..5c7f83ade 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -761,8 +761,8 @@ def writeBootloader(intf, instRoot, fsset, bl, langs, comps):
plainLabelUsed = 0
for (version, nick) in comps.kernelVersionList():
if plainLabelUsed:
- kernelList.append("%s-%s" % (kernelLabel, nick),
- "%s-%s" % (kernelLongLabel, nick), version)
+ kernelList = kernelList + ["%s-%s" % (kernelLabel, nick),
+ "%s-%s" % (kernelLongLabel, nick), version]
else:
kernelList.append((kernelLabel, kernelLongLabel, version))
plainLabelUsed = 1