gem/openquake — pull request #661 by larsbutler (2012-01-23 10:19:22+00:00)
Title: Fix loss map serialization

When I landed the Classical Risk calc QA test branch (https://github.com/gem/openquake/pull/659), I noticed a bug with loss map serialization. This is a small patch which fixes the issue and improves test coverage (where there was previously almost no coverage). There is no bug associated with this work; I just whipped this up to quickly fix the issue.