diff options
author | 2007-11-17 18:53:50 +0000 | |
---|---|---|
committer | 2007-11-17 18:53:50 +0000 | |
commit | 7d562b7deb160056ef741e90cb2d107b3fa29384 (patch) | |
tree | 46d44e8d8833956865ee921c7063231cbd025f51 | |
parent | correct bugzilla location for bug 178144 (diff) | |
download | gli-7d562b7deb160056ef741e90cb2d107b3fa29384.tar.gz gli-7d562b7deb160056ef741e90cb2d107b3fa29384.tar.bz2 gli-7d562b7deb160056ef741e90cb2d107b3fa29384.zip |
move around parentheses to fix bug 179528
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1862 f8877401-5920-0410-a79b-8e2d7e04ca0d
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/templates/x86ArchitectureTemplate.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,10 @@ # $Header: /var/cvsroot/gentoo/src/installer/ChangeLog,v 1.686 2006/09/15 16:37:11 agaffney Exp $ 17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> + src/templates/x86ArchitectureTemplate.py: + move around parentheses to fix bug 179528 + + 17 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> src/fe/gtk/InstallFailed.py: correct bugzilla location for bug 178144 diff --git a/src/templates/x86ArchitectureTemplate.py b/src/templates/x86ArchitectureTemplate.py index 212d1a6..af8c966 100644 --- a/src/templates/x86ArchitectureTemplate.py +++ b/src/templates/x86ArchitectureTemplate.py @@ -172,7 +172,7 @@ class x86ArchitectureTemplate(ArchitectureTemplate): if (mount['type'] == "fat32") or (mount['type'] == "ntfs"): grub_dev = self._map_device_to_grub_device(mount['devnode'][:-1]) newgrubconf += "\ntitle=Possible Windows P"+str(mount['devnode'])+"\n" - newgrubconf += "rootnoverify ("+grub_dev+","+str(int(mount['devnode'][-1] -1))+")\n" + newgrubconf += "rootnoverify ("+grub_dev+","+str(int(mount['devnode'][-1])-1)+")\n" newgrubconf += "makeactive\nchainloader +1\n\n" return newgrubconf |