No, it just logs an error if the length of parent_locs is not 1. That won't halt execution of the code, will it?

(Note that this was existing code)