opencivicdata/pupa — pull request #122 by paultag (2014-09-15 20:10:22+00:00)
Title: Fall back to 'None' if a key isn't present in the JSON item

If the JSON dict doesn't have an element, compare it against the DB
by defaulting to 'None', since it'd be in the db as a 'NULL' record.

Unsure if this is correct. Putting this up to think about it for a minute. Tests pass, but I'm still not 100% sure.

This fixes a bug in some of the Open States scrapers.