robhudson/zamboni — comment on commit 2f86056fa5da3d032ec8c123ac56a125997ace10
File: apps/addons/models.py line 603
By kumar303:

I'm not sure if I'm reading it right but this OR clause looks bare. You might need to wrap the outer clause in parens to prevent OR from shortcircuiting the CASE clause above