1507 |
def haveMigratedFilesystems(self): |
def haveMigratedFilesystems(self): |
1508 |
return self.migratedfs |
return self.migratedfs |
1509 |
|
|
1510 |
|
def checkFilesystems (self, chroot='/'): |
1511 |
|
for entry in self.entries: |
1512 |
|
if entry.fsystem.isCheckable(): |
1513 |
|
self.checkEntry(entry, chroot) |
1514 |
|
|
1515 |
def migrateFilesystems (self, chroot='/'): |
def migrateFilesystems (self, chroot='/'): |
1516 |
if self.migratedfs: |
if self.migratedfs: |
1517 |
return |
return |
1525 |
try: |
try: |
1526 |
entry.origfsystem.migrateFileSystem(entry, self.messageWindow, |
entry.origfsystem.migrateFileSystem(entry, self.messageWindow, |
1527 |
chroot) |
chroot) |
|
if entry.fsystem.isCheckable(): |
|
|
self.checkEntry(entry, chroot) |
|
1528 |
except SystemError: |
except SystemError: |
1529 |
if self.messageWindow: |
if self.messageWindow: |
1530 |
self.messageWindow(_("Error"), |
self.messageWindow(_("Error"), |
2644 |
if status is None: |
if status is None: |
2645 |
return 0 |
return 0 |
2646 |
|
|
2647 |
if os.WIFEXITED(status) and (os.WEXITSTATUS(status) == 0): |
if os.WIFEXITED(status) and ((os.WEXITSTATUS(status) == 0) or (os.WEXITSTATUS(status) == 1)): |
2648 |
return 0 |
return 0 |
2649 |
|
|
2650 |
return 1 |
return 1 |