gem/oq-hazardlib — pull request #226 by micheles (2014-09-01 12:39:02+00:00)
Title: imt.from_string now returns a ValueError and can be used as a validator

This is helpful for the new validation system.