fixing another whoops

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1324 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-02-27 15:43:24 +00:00
parent 19f8c5931b
commit 4bc6e59835
+4 -1
View File
@@ -6254,7 +6254,10 @@ timeout=10
grub_conf = f.readlines()
f.close()
content = [unicode(x,'raw_unicode_escape') for x in grub_conf]
kernel, initramfs = (unicode(kernel,'raw_unicode_escape'),unicode(initramfs,'raw_unicode_escape'))
try:
kernel, initramfs = (unicode(kernel,'raw_unicode_escape'),unicode(initramfs,'raw_unicode_escape'))
except TypeError:
pass
kernelname = os.path.basename(kernel)
new_conf = []
skip = False