/[smeserver]/cdrom.image/updates/fsset.py
ViewVC logotype

Diff of /cdrom.image/updates/fsset.py

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

Revision 1.7 by slords, Wed Apr 5 01:20:27 2006 UTC Revision 1.8 by slords, Wed Apr 5 04:20:56 2006 UTC
# Line 1448  MAILADDR root Line 1448  MAILADDR root
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)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed