[PATCH] don't inject a space between each char in boot device name (#875652)

Samantha N. Bueno sbueno+anaconda at redhat.com
Mon Dec 3 16:46:01 UTC 2012


string.join() by default adds a space between each char/word unless
explicitly noted otherwise.

Resolves: rhbz#875652
---
 booty/checkbootloader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/booty/checkbootloader.py b/booty/checkbootloader.py
index d58df8e..c76b5bf 100644
--- a/booty/checkbootloader.py
+++ b/booty/checkbootloader.py
@@ -106,7 +106,7 @@ def getBootDevList(line):
     for dev in devs:
         dev = getBootDevString("=%s" % (dev,))
         rets.append(dev)
-    return string.join(rets)
+    return string.join(rets, "")

 def getBootloaderTypeAndBoot(instRoot, storage):
     haveGrubConf = 1
--
1.8.0


More information about the anaconda-patches mailing list