summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-24 14:09:31 -0500
committerBill Nottingham <notting@redhat.com>2008-01-24 14:09:31 -0500
commit9364d1c03b90270047dee662aee393aa23ae0ebf (patch)
tree8145a33244ffc1b7fc8f2eaa5b6dc37feaafaecf /utils
parent5360bea2e76964ff7c2062c5c5ff23f591c87519 (diff)
downloadanaconda-9364d1c03b90270047dee662aee393aa23ae0ebf.tar.gz
anaconda-9364d1c03b90270047dee662aee393aa23ae0ebf.tar.xz
anaconda-9364d1c03b90270047dee662aee393aa23ae0ebf.zip
Clean off leading and trailing whitespace from descriptions.
3c359, you're on notice!
Diffstat (limited to 'utils')
-rwxr-xr-xutils/genmodinfo1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/genmodinfo b/utils/genmodinfo
index de71e7076..5f39c7dde 100755
--- a/utils/genmodinfo
+++ b/utils/genmodinfo
@@ -53,6 +53,7 @@ for modtype in modules.keys():
line = line.strip()
if mods.has_key(line):
desc = commands.getoutput("modinfo -F description %s" % (mods[line]))
+ desc = desc.strip()
modname = line[:-3]
if modname in blacklist:
continue