dimagi/commcare-hq — pull request #5160 by esoergel (2014-12-23 21:06:18+00:00)
Title: Create fallback for missing `deployment` on domain

Came across this when debugging something else. It appears some domain docs
don't have a `deployment` field - snapshots, I think. This should prevent
pillow errors like this:
https://www.commcarehq.org/hq/pillow_errors/edit_errors/?error=53475