toulouse-smart: do not crash on receiving string in place of block field (#79816) #325
No reviewers
Labels
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: entrouvert/passerelle#325
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/79816-toulouse-smart-do-not-crash-on-string"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ne pas crasher quand on reçoit une chaîne à la place du bloc de champ attendu.
@ -179,1 +179,4 @@
data = {}
if not isinstance(block, dict):
raise APIError(
"cannot retrieve '%s' block content from post data: get a %s where a dict was excpected"
get → got.
excpected → expected.
J'ai corrigé, merci.
ddd013fce4
to52227d15ec
52227d15ec
toaa58a50257
aa58a50257
to194801865e
194801865e
tof026a54fdc
f026a54fdc
to79523462f7
79523462f7
tof7e20cc493
f7e20cc493
tof2652bac36