This should be actually .endswith('+'). (gabejackson: no need to fix this, I'll do that when committing).