bmuller / twistar

Twistar is an object-relational mapper (ORM) for Python that uses the Twisted library to provide asynchronous DB interaction.
http://findingscience.com/twistar
Other
132 stars 38 forks source link

twistar.validation.lengthOf fails when the attribute is None #33

Closed erikkaplun closed 11 years ago

bmuller commented 11 years ago

Fixed in 8823f1e - though I consider a value of None when there is a required length to be an error. Thanks for finding this.

erikkaplun commented 11 years ago

Um, well, true; just change if val is not None and ... to if val is None or ...?