1. Andriy Kornatskyy
  2. wheezy.validation

Commits

Andriy Kornatskyy  committed 8c2fe5d

Minor optimization on calling validator.

  • Participants
  • Parent commits cf1ea91
  • Branches default

Comments (0)

Files changed (1)

File src/wheezy/validation/mixin.py

View file
 
     def validate(self, model, validator):
         return validator.validate(
-                model=model,
-                results=self.errors,
+                model,
+                self.errors,
                 translations=self.translations['validation'])