Repository navigation
Commit 92ee97d
mip: Avoid str.rpartition for limited builds.
ESP8266 disables str.partition and str.rpartition to save flash, so
installing a package manifest currently fails when deriving its base URL.
Use rfind and slicing instead, preserving the empty prefix when no slash
is present. This avoids requiring partition support on limited builds
without removing the on-device package installer.
Bump mip to version 0.5.1.
See micropython/micropython#19844
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>1 parent 660ddd8 commit 92ee97d
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
0 commit comments