[yast-commit] r50083 - in /trunk/installation: package/yast2-installation.changes src/include/scr_switch_debugger.ycp
Author: locilka Date: Thu Aug 14 17:40:30 2008 New Revision: 50083 URL: http://svn.opensuse.org/viewcvs/yast?rev=50083&view=rev Log: Fixed SCR Switch Debugger to show "Report Error" only once. Modified: trunk/installation/package/yast2-installation.changes trunk/installation/src/include/scr_switch_debugger.ycp Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=50083&r1=50082&r2=50083&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Thu Aug 14 17:40:30 2008 @@ -3,6 +3,7 @@ - Added documentation for add_on_products and its new format add_on_products.xml (FATE #303675). +- Fixed SCR Switch Debugger to show "Report Error" only once. ------------------------------------------------------------------- Wed Aug 13 18:23:57 CEST 2008 - locilka@suse.cz Modified: trunk/installation/src/include/scr_switch_debugger.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/include/scr_switch_debugger.ycp?rev=50083&r1=50082&r2=50083&view=diff ============================================================================== --- trunk/installation/src/include/scr_switch_debugger.ycp (original) +++ trunk/installation/src/include/scr_switch_debugger.ycp Thu Aug 14 17:40:30 2008 @@ -106,8 +106,6 @@ // reports a progress with reslt void ReportTest (string test_description, boolean test_result) { - if (! test_result) y2error("-- I.C. Winner --"); - // report it to the log y2milestone("%1 %2", test_description, test_result); @@ -116,6 +114,13 @@ sformat ("%1 %2\n", test_description, (test_result ? result_ok : result_failed)) ); + if (test_result) { + // passed + return; + } + + y2error("-- I.C. Winner --"); + UI::ChangeWidget ( `id(`log_view), `LastLine, "\n" + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org