Commit 0441367
committed
Fixed IndexError when parsing malformed --modules-extra-args
- Added validation to check for '=' sign before splitting
- Provided the helpful error message when format is invalid
- Used split('=', 1) to properly handle values containing '=' characters
- Fixes issue #11991 parent 3ce1e88 commit 0441367
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
739 | | - | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
740 | 753 | | |
741 | 754 | | |
742 | 755 | | |
| |||
756 | 769 | | |
757 | 770 | | |
758 | 771 | | |
759 | | - | |
| 772 | + | |
| 773 | + | |
760 | 774 | | |
761 | 775 | | |
762 | 776 | | |
| |||
0 commit comments