Skip to content

Commit

Permalink
new validation
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 21, 2016
1 parent 6121e6d commit 13663df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/budy/models/voucher.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class Voucher(base.BudyBase):
@classmethod
def validate(cls):
return super(Voucher, cls).validate() + [
appier.not_null("key"),
appier.not_empty("key"),
appier.not_duplicate("key", cls._name()),

Expand Down

0 comments on commit 13663df

Please sign in to comment.