Fixed PEP errors
@@ -248,12 +248,14 @@ class ModelParameter(AbstractMetaDataElement):
@classmethod
def _validate_swat_model_parameters(cls, parameters):
for swat_parameters in parameters:
- if isinstance(swat_parameters, unicode) and swat_parameters not in ['Crop rotation',
+ if isinstance(swat_parameters, unicode) and \
+ swat_parameters not in ['Crop rotation',
'Tile drainage',
'Point source',
'Fertilizer',
'Tillage operation',
- 'Inlet of draining watershed', 'Irrigation operation']:
+ 'Inlet of draining watershed',
+ 'Irrigation operation']:
raise ValidationError('Invalid swat_model_parameters:%s' % parameters)
