--- pyanaconda/ui/gui/tools/run-spoke.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyanaconda/ui/gui/tools/run-spoke.py b/pyanaconda/ui/gui/tools/run-spoke.py index 5247163..d635957 100755 --- a/pyanaconda/ui/gui/tools/run-spoke.py +++ b/pyanaconda/ui/gui/tools/run-spoke.py @@ -39,8 +39,9 @@ if not spokeClass: sys.exit(1) spoke = spokeClass(ksdata, devicetree, instclass) -spoke.register_event_cb("continue", lambda: Gtk.main_quit()) -spoke.register_event_cb("quit", lambda: Gtk.main_quit()) +if hasattr(spoke, "register_event_cb"): + spoke.register_event_cb("continue", lambda: Gtk.main_quit()) + spoke.register_event_cb("quit", lambda: Gtk.main_quit()) spoke.populate() if not spoke.showable: -- 1.7.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list