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

[PATCH] Add 'traceback' boot option for python-meh and libreport testing



---
 pyanaconda/iw/filter_type.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/iw/filter_type.py b/pyanaconda/iw/filter_type.py
index a26a02c..e562dea 100644
--- a/pyanaconda/iw/filter_type.py
+++ b/pyanaconda/iw/filter_type.py
@@ -30,6 +30,8 @@ from iw_gui import *
 from pyanaconda.flags import flags
 from pyanaconda.storage.deviceaction import *
 
+from pyanaconda.flags import flags
+
 import gettext
 _ = lambda x: gettext.ldgettext("anaconda", x)
 
@@ -39,6 +41,10 @@ class FilterTypeWindow(InstallWindow):
         ics.setTitle("Filter Type")
         ics.setNextEnabled(True)
 
+        if flags.cmdline.getbool("traceback"):
+            ics.getICW().anaconda.intf.enableNetwork()
+            raise RuntimeError("Intentionally raised exception")
+
     def getNext(self):
         if self.buttonGroup.getCurrent() == "simple":
             self.anaconda.simpleFilter = True
-- 
1.7.4.4


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