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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux