summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-02-27 17:24:12 -0500
committerChris Lumens <clumens@redhat.com>2008-02-28 14:27:26 -0500
commiteac6293ca4d5c8198aa2301565f694ea792cdac3 (patch)
tree5251766cc02ab4054dbd1f95e6942140982eca1f /text.py
parent3fd93c9585c708acb1c39d0887bffdd774e288ed (diff)
downloadanaconda-eac6293ca4d5c8198aa2301565f694ea792cdac3.tar.gz
anaconda-eac6293ca4d5c8198aa2301565f694ea792cdac3.tar.xz
anaconda-eac6293ca4d5c8198aa2301565f694ea792cdac3.zip
Allow recovery from some missing repodata conditions.
If we try to read the repodata during doRepoSetup and find that it's not there, allow editing the repository right away and attempt to reconfigure. These changes will be reflected in task selection later on.
Diffstat (limited to 'text.py')
-rw-r--r--text.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/text.py b/text.py
index 652141e15..92797565e 100644
--- a/text.py
+++ b/text.py
@@ -440,6 +440,10 @@ class InstallInterface:
return self.messageWindow(title, text, type, default, custom_icon,
custom_buttons)
+ def editRepoWindow(self, anaconda, repoObj):
+ self.messageWindow(_("Error"),
+ _("Repository editing is not available in text mode."))
+
def entryWindow(self, title, text, prompt, entrylength = None):
(res, value) = EntryWindow(self.screen, title, text, [prompt])
if res == "cancel":