robhudson/zamboni — comment on commit 7c0bbdb42407f0f8e943d47a87890b07c79623ac
File: services/update.py line 213
By andymckay:

2 more sql queries isn't great, but I can't think off the top of my head how to do it in less without being too complicated.