FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Studio User

 
 
LinkBack Thread Tools
 
Old 05-04-2010, 09:35 AM
Hans de Goede
 
Default booty: remove dead code chunk

As dosFilesystems already contains hpfs and ntfs, the if block this
patch removes will never get reached.
---
booty/bootloaderInfo.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py
index 0b50f7f..bed1ee7 100644
--- a/booty/bootloaderInfo.py
+++ b/booty/bootloaderInfo.py
@@ -289,12 +289,6 @@ class BootImages:
foundDos = True
except:
pass
- elif type in ["ntfs", "hpfs"] and not foundDos and
- doesDualBoot() and not part.getFlag(parted.PARTITION_DIAG):
- retval.append((part, type))
- # maybe questionable, but the first ntfs or fat is likely to
- # be the correct one to boot with XP using ntfs
- foundDos = True
elif type == "appleboot" and iutil.getPPCMachine() == "PMac" and part.bootable:
foundAppleBootstrap = True
elif type in ["hfs", "hfs+"] and foundAppleBootstrap:
--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-04-2010, 10:03 AM
Ales Kozumplik
 
Default booty: remove dead code chunk

On 05/04/2010 11:35 AM, Hans de Goede wrote:

As dosFilesystems already contains hpfs and ntfs, the if block this
patch removes will never get reached.
---


Ack, very reasonable.

Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org