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 > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 03-22-2010, 11:26 AM
Hans de Goede
 
Default platform.py: _diskLabelType is a string itself

---
platform.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform.py b/platform.py
index 6076ac5..30c58db 100644
--- a/platform.py
+++ b/platform.py
@@ -284,7 +284,7 @@ class Alpha(Platform):
disk = req.disk.format.partedDisk

# Check that we're a BSD disk label
- if not disk.type == self._diskLabelType.name:
+ if not disk.type == self._diskLabelType:
errors.append(_("%s must have a bsd disk label.") % req.disk.name)

# The first free space should start at the beginning of the drive and
@@ -427,7 +427,7 @@ class NewWorldPPC(PPC):
disk = req.disk.format.partedDisk

# Check that we're a Mac disk label
- if not disk.type == self._diskLabelType.name:
+ if not disk.type == self._diskLabelType:
errors.append(_("%s must have a mac disk label.") % req.disk.name)

# All of the above just checks the appleboot partitions. We still
--
1.7.0

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-22-2010, 01:20 PM
Chris Lumens
 
Default platform.py: _diskLabelType is a string itself

> platform.py | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)

ACK.

- Chris

_______________________________________________
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 05:40 AM.

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