fix error message in merge algorithm

This commit is contained in:
LOMENEDE Jean-Daniel 2017-05-02 13:39:22 +02:00
parent 6e38c1d692
commit dea558b824

View File

@ -89,7 +89,7 @@ class Merge(GeoAlgorithm):
if (dfield.type() != sfield.type()):
raise GeoAlgorithmExecutionException(
self.tr('{} field in layer {} has different '
'data type than in other layers.'))
'data type than in other layers.'.format(sfield.name(), layerSource)))
if not found:
fields.append(sfield)