[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/3] Drop init questions from cmdline.py



The generic versions in InstallInterfaceBase use a custom messageWindow
which will trigger the cannot have a question in cmdline mode code
in cmdline.py's messageWindow implementation.
---
 cmdline.py |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/cmdline.py b/cmdline.py
index a531940..9ca1d6e 100644
--- a/cmdline.py
+++ b/cmdline.py
@@ -137,26 +137,6 @@ class InstallInterface(InstallInterfaceBase):
         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 resetReinitInconsistentLVMQuestion(self):
-        pass
-
-    def questionReinitInconsistentLVM(self, pv_names=None, lv_name=None, vg_name=None):
-        print(_("Can't have a question in command line mode!"))
-        print("(questionReinitInconsistentLVM)")
-        # don't exit
-        while 1:
-            time.sleep(5)
-
     def mainExceptionWindow(self, shortText, longTextFile):
         print(shortText)
 
-- 
1.7.0.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]