Hmm, I think git is confused: it reports this function as added but I see it's already in master. I was going to comment on the use of `sys.exit` but I'll refrain.