/[gli]/trunk/src/GLIInstallProfile.py
Gentoo

Diff of /trunk/src/GLIInstallProfile.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 634 Revision 635
1""" 1"""
2Gentoo Linux Installer 2Gentoo Linux Installer
3 3
4$Id: GLIInstallProfile.py,v 1.53 2005/06/09 05:57:56 agaffney Exp $ 4$Id: GLIInstallProfile.py,v 1.54 2005/06/09 23:13:57 agaffney Exp $
5Copyright 2005 Gentoo Technologies Inc. 5Copyright 2005 Gentoo Technologies Inc.
6 6
7The GLI module contains all classes used in the Gentoo Linux Installer (or GLI). 7The GLI module contains all classes used in the Gentoo Linux Installer (or GLI).
8The InstallProfile contains all information related to the new system to be 8The InstallProfile contains all information related to the new system to be
9installed. 9installed.
1000# else: 1000# else:
1001 if "minor" in attr.getNames(): 1001 if "minor" in attr.getNames():
1002 for attrName in attr.getNames(): 1002 for attrName in attr.getNames():
1003 part_entry[attrName] = str(attr.getValue(attrName)) 1003 part_entry[attrName] = str(attr.getValue(attrName))
1004 if type(part_entry['format']) == str: part_entry['format'] = GLIUtility.strtobool(part_entry['format']) 1004 if type(part_entry['format']) == str: part_entry['format'] = GLIUtility.strtobool(part_entry['format'])
1005# if GLIUtility.is_numeric(part_entry['end']): part_entry['end'] = int(part_entry['end']) 1005# if GLIUtility.is_numeric(part_entry['end']): part_entry['end'] = long(part_entry['end'])
1006# if GLIUtility.is_numeric(part_entry['start']): part_entry['start'] = int(part_entry['start']) 1006# if GLIUtility.is_numeric(part_entry['start']): part_entry['start'] = long(part_entry['start'])
1007 if GLIUtility.is_numeric(part_entry['mb']): part_entry['mb'] = int(part_entry['mb']) 1007 if GLIUtility.is_numeric(part_entry['mb']): part_entry['mb'] = long(part_entry['mb'])
1008 if GLIUtility.is_numeric(part_entry['minor']): part_entry['minor'] = int(part_entry['minor']) 1008 if GLIUtility.is_numeric(part_entry['minor']): part_entry['minor'] = int(part_entry['minor'])
1009 if GLIUtility.is_numeric(part_entry['origminor']): part_entry['origminor'] = int(part_entry['origminor']) 1009 if GLIUtility.is_numeric(part_entry['origminor']): part_entry['origminor'] = int(part_entry['origminor'])
1010 self._temp_partition_table[part_entry['minor']] = part_entry 1010 self._temp_partition_table[part_entry['minor']] = part_entry
1011 1011
1012 ############################################################################ 1012 ############################################################################

Legend:
Removed from v.634  
changed lines
  Added in v.635

  ViewVC Help
Powered by ViewVC 1.1.20