Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Activated the validation again which was unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
flo committed Nov 28, 2015
1 parent 73fa3b5 commit eca58fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions m3.py
Expand Up @@ -197,6 +197,7 @@ def validateInstance(self, instance, instanceName):
except AttributeError:
raise Exception("%s does not have a field called %s%n" % (instanceName, field.name))
raise
field.validateContent(fieldContent, instanceName + "." + field.name);

def hasField(self, fieldName):
return fieldName in self.nameToFieldMap
Expand Down

0 comments on commit eca58fa

Please sign in to comment.