summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-02-12 16:51:35 -0500
committerJeremy Katz <katzj@redhat.com>2008-02-12 17:16:13 -0500
commitf09fd0f2ac47178d1fe3d77ed2c0f42bf948a4f2 (patch)
tree57ea7c5e914fbbb81e3fef3d299bb6ddeb6dd225 /utils
parentdf65822ff98ad737ff0555117ed8a891060b6da0 (diff)
downloadanaconda-f09fd0f2ac47178d1fe3d77ed2c0f42bf948a4f2.tar.gz
anaconda-f09fd0f2ac47178d1fe3d77ed2c0f42bf948a4f2.tar.xz
anaconda-f09fd0f2ac47178d1fe3d77ed2c0f42bf948a4f2.zip
Handle modules with more than one description (#432414)
Diffstat (limited to 'utils')
-rwxr-xr-xutils/genmodinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/genmodinfo b/utils/genmodinfo
index 5f39c7dde..271e026bf 100755
--- a/utils/genmodinfo
+++ b/utils/genmodinfo
@@ -52,7 +52,7 @@ for modtype in modules.keys():
for line in lines:
line = line.strip()
if mods.has_key(line):
- desc = commands.getoutput("modinfo -F description %s" % (mods[line]))
+ desc = commands.getoutput("modinfo -F description %s" % (mods[line])).split("\n")[0]
desc = desc.strip()
modname = line[:-3]
if modname in blacklist: