summaryrefslogtreecommitdiffstats
path: root/eli.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-25 02:42:55 +0000
committerMatt Wilson <msw@redhat.com>2000-07-25 02:42:55 +0000
commitbed8e78e9dcbd14454e1de15d15b7825e971e54a (patch)
tree71763e3e0804563cca04b7fe8cfac831bf50efdb /eli.py
parent470e3adcc9e4145f12c7ddc98a47dd93e20c30d8 (diff)
downloadanaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.tar.gz
anaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.tar.xz
anaconda-bed8e78e9dcbd14454e1de15d15b7825e971e54a.zip
move all string access of headers to int constants
Diffstat (limited to 'eli.py')
-rw-r--r--eli.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/eli.py b/eli.py
index e3c8bf003..b6813ff8b 100644
--- a/eli.py
+++ b/eli.py
@@ -81,7 +81,8 @@ class EliConfiguration:
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 = "vmlinux" + kernelTag
try: