I so hope the cuts aren't too bad & that he recovers. I know you didn't mean for this to happen. Sooner or later, snakes in captivity have nothing better to do than check out everything within their reach -it's up to us to do the thinking for them, they don't know better than to get stuck. Even in the wild, snakes get killed this way, going thru some kinds of fences (especially 'bird netting' that some ppl use in their garden) or other debris. Just because pet stores sell cage "decor" doesn't mean it's safe...it may be fine for fish to swim thru, but never for snakes. Even driftwood, you have to make sure there's no holes that your snake can get stuck in, & never use cholla logs either.