diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-25 14:15:50 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-25 14:15:50 +0000 |
commit | 49a936cc890a75b73930c8ecc32323098305794b (patch) | |
tree | 117a83a89aa076735d60644bfcf20b6313e0ff33 /harddrive.py | |
parent | cb1d032be5d2ab13a14add12a525b12cce36f50e (diff) | |
download | anaconda-49a936cc890a75b73930c8ecc32323098305794b.tar.gz anaconda-49a936cc890a75b73930c8ecc32323098305794b.tar.xz anaconda-49a936cc890a75b73930c8ecc32323098305794b.zip |
Consolidate file fetching error handling into one set of urlgrabber error
callbacks. Allow retrying when the error dialog is displayed (#183974).
Diffstat (limited to 'harddrive.py')
-rw-r--r-- | harddrive.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/harddrive.py b/harddrive.py index 56995f969..fce31f3ff 100644 --- a/harddrive.py +++ b/harddrive.py @@ -37,6 +37,14 @@ class HardDriveInstallMethod(ImageInstallMethod): self.switchMedia(wasmounted) return path + def badPackageError(self, pkgname): + return _("The file %s cannot be opened. This is due to a missing " + "file or perhaps a corrupt package. Please verify your " + "installation images and that you have all the required " + "media.\n\n" + "If you reboot, your system will be left in an inconsistent " + "state that will likely require reinstallation.\n\n") % pkgname + # mounts disc image cdNum under self.tree def mountMedia(self, cdNum): if self.mediaIsMounted: |