diff options
author | Matt Wilson <msw@redhat.com> | 2000-07-25 02:42:55 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-07-25 02:42:55 +0000 |
commit | bed8e78e9dcbd14454e1de15d15b7825e971e54a (patch) | |
tree | 71763e3e0804563cca04b7fe8cfac831bf50efdb /lilo.py | |
parent | 470e3adcc9e4145f12c7ddc98a47dd93e20c30d8 (diff) | |
download | anaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.tar.gz anaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.tar.xz anaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.zip |
move all string access of headers to int constants
Diffstat (limited to 'lilo.py')
-rw-r--r-- | lilo.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -307,7 +307,8 @@ class LiloConfiguration: kernelList.append((label, hdList['kernel'], "")) for (label, kernel, tag) in kernelList: - kernelTag = "-%s-%s%s" % (kernel['version'], kernel['release'], tag) + kernelTag = "-%s-%s%s" % (kernel[rpm.RPMTAG_VERSION], + kernel[rpm.RPMTAG_RELEASE], tag) kernelFile = "/boot/vmlinuz" + kernelTag try: |