Changes between Version 1 and Version 2 of Ticket #10200, comment 12
- Timestamp:
- Mar 15, 2012, 2:51:48 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10200, comment 12
v1 v2 1 Actually, loaddata code in its current status is such that all error code paths mean:1 Actually, loaddata code in its current status is such that all error code paths lead to: 2 2 3 3 * An error is printed to stderr 4 4 * The handle() method returns 5 5 6 So, the only (benefic al IMHO) change the change proposed by this ticket would be that the Unix process exit codefrom zero to a non-zero value.6 So, the only (beneficial IMHO) change the modification proposed by this ticket would introduce would be that the Unix process exit code changes from zero to a non-zero value. 7 7 8 I suspect the backward-incompatibility reservations Jacob had back then were related to the fact that raising !CommandError would mean exiting from the nested loops and aborting execution of the command; but the gradual evolution of the code during the last threee years has resulted isprecisely that behavior already8 I suspect the backward-incompatibility reservations Jacob had back then were related to the fact that raising !CommandError would mean exiting from the nested loops and aborting execution of the command; but the evolution of the code during the last three years has resulted in precisely that behavior already 9 9 10 10 But I'm not sure. Will try to confirm with him.