diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2010-01-07 09:54:03 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2010-01-07 09:54:03 +0100 |
commit | 31d5b8f4fec513e4f8e246e47e9fee75c701d07b (patch) | |
tree | 9e6506cdf6bb4fdb91f50135a7620184ca14ea10 /cmdline.py | |
parent | 111123c68d9c835947b7636642c9bc2081dd7db0 (diff) | |
download | anaconda-31d5b8f4fec513e4f8e246e47e9fee75c701d07b.tar.gz anaconda-31d5b8f4fec513e4f8e246e47e9fee75c701d07b.tar.xz anaconda-31d5b8f4fec513e4f8e246e47e9fee75c701d07b.zip |
Ask about disk initialization only in storageinit step.
Don't ask again and again e.g. when going back and forth in custom partitioning
UI. Related to bug #527711 which is itself fixed by another patch.
(*) Answers are cached in InstallInterface classes.
(*) Dialog callback is moved from storage code to InstallInterface
classes.
Diffstat (limited to 'cmdline.py')
-rw-r--r-- | cmdline.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmdline.py b/cmdline.py index c6c98be13..24485f76f 100644 --- a/cmdline.py +++ b/cmdline.py @@ -134,6 +134,16 @@ class InstallInterface: while 1: time.sleep(5) + def resetInitializeDiskQuestion(self): + pass + + def questionInitializeDisk(self, path, description, size, details=""): + print(_("Can't have a question in command line mode!")) + print("(questionInitializeDisk)") + # don't exit + while 1: + time.sleep(5) + def mainExceptionWindow(self, shortText, longTextFile): print(shortText) |