Well, at least this snake didn't swallow a porcupine, but ouch!
This YouTube clip showed a boa constrictor in Brazil that realized that hugging, er contricting, a porcupine (specifically the Brazilian porcupine with short, thick, whitish or yellowish spines) is a bad, bad idea.
It looks like it tried to bite the porcupine as well, which got him a mouthful of barbs:
YouTube clip - via Boing Boing