1448 |
formatted = [] |
formatted = [] |
1449 |
notformatted = [] |
notformatted = [] |
1450 |
for entry in self.entries: |
for entry in self.entries: |
1451 |
|
if (entry.mountpoint != '/boot'): |
1452 |
|
continue |
1453 |
|
if (not entry.fsystem.isFormattable() or not entry.getFormat() |
1454 |
|
or entry.isMounted()): |
1455 |
|
notformatted.append(entry) |
1456 |
|
continue |
1457 |
|
try: |
1458 |
|
self.formatEntry(entry, chroot) |
1459 |
|
formatted.append(entry) |
1460 |
|
except SystemError: |
1461 |
|
if self.messageWindow: |
1462 |
|
self.messageWindow(_("Error"), |
1463 |
|
_("An error occurred trying to " |
1464 |
|
"format %s. This problem is " |
1465 |
|
"serious, and the install cannot " |
1466 |
|
"continue.\n\n" |
1467 |
|
"Press <Enter> to reboot your system.") |
1468 |
|
% (entry.device.getDevice(),)) |
1469 |
|
sys.exit(0) |
1470 |
|
|
1471 |
|
for entry in self.entries: |
1472 |
|
if (entry.mountpoint == '/boot'): |
1473 |
|
continue |
1474 |
if (not entry.fsystem.isFormattable() or not entry.getFormat() |
if (not entry.fsystem.isFormattable() or not entry.getFormat() |
1475 |
or entry.isMounted()): |
or entry.isMounted()): |
1476 |
notformatted.append(entry) |
notformatted.append(entry) |