/[gli]/branches/overhaul/src/templates/x86ArchitectureTemplate.py
Gentoo

Diff of /branches/overhaul/src/templates/x86ArchitectureTemplate.py

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

Revision 1329 Revision 1335
3# This source code is distributed under the terms of version 2 of the GNU 3# This source code is distributed under the terms of version 2 of the GNU
4# General Public License as published by the Free Software Foundation, a copy 4# General Public License as published by the Free Software Foundation, a copy
5# of which can be found in the main directory of this project. 5# of which can be found in the main directory of this project.
6Gentoo Linux Installer 6Gentoo Linux Installer
7 7
8$Id: x86ArchitectureTemplate.py,v 1.104 2006/03/02 21:37:58 agaffney Exp $ 8$Id: x86ArchitectureTemplate.py,v 1.105 2006/03/04 02:08:58 agaffney Exp $
9Copyright 2004 Gentoo Technologies Inc. 9Copyright 2004 Gentoo Technologies Inc.
10 10
11 11
12This fills in x86 specific functions. 12This fills in x86 specific functions.
13""" 13"""
118 parted_disk = parted.PedDisk.new(parted_dev) 118 parted_disk = parted.PedDisk.new(parted_dev)
119 except: 119 except:
120 parted_disk = parted_dev.disk_new_fresh(parted.disk_type_get((tmp_parts_new[device].get_disklabel() or GLIStorageDevice.archinfo[self._architecture_name]['disklabel']))) 120 parted_disk = parted_dev.disk_new_fresh(parted.disk_type_get((tmp_parts_new[device].get_disklabel() or GLIStorageDevice.archinfo[self._architecture_name]['disklabel'])))
121# new_part_list = parts_new[device].keys() 121# new_part_list = parts_new[device].keys()
122# new_part_list.sort() 122# new_part_list.sort()
123 new_part_list = parts_new[device].get_ordered_partition_list() 123 new_part_list = tmp_parts_new[device].get_ordered_partition_list()
124 device_sectors = parted_dev.length 124 device_sectors = parted_dev.length
125 125
126 # Iterate through new partitions and check for 'origminor' and 'format' == False 126 # Iterate through new partitions and check for 'origminor' and 'format' == False
127 for part in parts_new[device].keys(): 127 for part in parts_new[device].keys():
128 tmppart_new = parts_new[device][part] 128 tmppart_new = parts_new[device][part]

Legend:
Removed from v.1329  
changed lines
  Added in v.1335

  ViewVC Help
Powered by ViewVC 1.1.20