forked fromsybrenstuvel/python-rsa
- Notifications
You must be signed in to change notification settings - Fork0
Commitf254895
committed
Use
Use `bytes.find()` instead of `bytes.index()`, as the former doesn't raisean exception when the to-be-found byte doesn't exist.bytes.find()
instead ofbytes.index()
1 parent240b0d8 commitf254895
1 file changed
+2
-4
lines changedLines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
| 261 | + | |
| 262 | + | |
265 | 263 |
| |
266 | 264 |
| |
267 | 265 |
| |
|
0 commit comments
Comments
(0)