[yast-commit] r67446 - in /trunk/s390/src: dasd/dialogs.ycp modules/DASDController.ycp
Author: aschnell Date: Wed Feb 15 15:06:39 2012 New Revision: 67446 URL: http://svn.opensuse.org/viewcvs/yast?rev=67446&view=rev Log: - tiny simplification Modified: trunk/s390/src/dasd/dialogs.ycp trunk/s390/src/modules/DASDController.ycp Modified: trunk/s390/src/dasd/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/src/dasd/dialogs.ycp?rev=67446&r1=67445&r2=67446&view=diff ============================================================================== --- trunk/s390/src/dasd/dialogs.ycp (original) +++ trunk/s390/src/dasd/dialogs.ycp Wed Feb 15 15:06:39 2012 @@ -369,14 +369,14 @@ string problem = ""; foreach (integer id, selected, { boolean active = DASDController::devices[id, "resource", "io", 0, "active"]:false; - string access = toupper(DASDController::devices[id, "resource", "io", 0, "mode"]:"RO"); - if (! active) + string access = DASDController::devices[id, "resource", "io", 0, "mode"]:"ro"); + if (!active) { // error report, %1 is device identification problem = sformat (_("Disk %1 is not active."), DASDController::devices[id, "channel"]:""); } - else if (tolower (access) != "rw") + else if (access != "rw") { problem = sformat ( // error report, %1 is device identification Modified: trunk/s390/src/modules/DASDController.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/s390/src/modules/DASDController.ycp?rev=67446&r1=67445&r2=67446&view=diff ============================================================================== --- trunk/s390/src/modules/DASDController.ycp (original) +++ trunk/s390/src/modules/DASDController.ycp Wed Feb 15 15:06:39 2012 @@ -378,6 +378,8 @@ return $[ index : d ]; }); + y2milestone("probed dasds %1", devices); + UI::CloseDialog (); } @@ -550,7 +552,6 @@ disks_param, par, additional_param); y2milestone ("Running command %1", command); - index = 0; term contents = `VBox (`HSpacing (70)); index = 0; while (index < par) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn2.opensuse.org