Cleaned up msg string formatting in openmc.mgxs

This commit is contained in:
Will Boyd 2015-10-11 10:06:12 -04:00
parent 178fb2bff5
commit 582d988ff3

View file

@ -509,7 +509,7 @@ class MGXS(object):
elif self.domain_type == 'material':
self.domain = statepoint.summary.get_material_by_id(self.domain.id)
else:
msg = 'Unable to load data from a statepoint for domain type {} ' \
msg = 'Unable to load data from a statepoint for domain type {0} ' \
'which is not yet supported'.format(self.domain_type)
raise ValueError(msg)