Commit ae7ef79
committed
Fix Python 3.8 compatibility: replace removesuffix with slice
str.removesuffix() requires Python 3.9+. Replace with a
string slice to maintain compatibility with older Python
versions used in CI.
Signed-off-by: Harsh Kumar Patwa <[email protected]>
Signed-off-by: Harsh Kumar <[email protected]>1 parent ade94d0 commit ae7ef79
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments