Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Conversation

@tonioo
Copy link

@tonioo tonioo commented Jul 25, 2014

A little but usefull improvement.

@tony
Copy link

tony commented May 16, 2015

@mindsnacks what do you think?

dblenkus and others added 21 commits October 5, 2015 13:50
The validation method now checks the following:

* If version string has too many components (1.2.3.4.5 with only 3
  components allowed);
* If any component is not numeric (1.x is not supported due to storage
  implementation);
* If any component is too big (one can't save number greater than 255
  with 8 bits, for example).

Raising ValidationError in validate() allows us to avoid ValueError
later.
Implement validation for the field.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants